(isMusl)
| 143 | } |
| 144 | |
| 145 | function throwUnsupportedError(isMusl) { |
| 146 | throw new Error( |
| 147 | `Your current platform "${platform}${isMusl ? ' (musl)' : ''}" and architecture "${arch}" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead. |
| 148 | |
| 149 | The following platform-architecture combinations are supported: |
| 150 | ${Object.entries(bindingsByPlatformAndArch) |
| 151 | .flatMap(([platformName, architectures]) => |
| 152 | Object.entries(architectures).flatMap(([architectureName, { musl }]) => { |
| 153 | const name = `${platformName}-${architectureName}`; |
| 154 | return musl ? [name, `${name} (musl)`] : [name]; |
| 155 | }) |
| 156 | ) |
| 157 | .join('\n')} |
| 158 | |
| 159 | If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.` |
| 160 | ); |
| 161 | } |
| 162 | |
| 163 | module.exports.parse = parse; |
| 164 | module.exports.parseAsync = parseAsync; |
no outgoing calls
no test coverage detected
searching dependent graphs…