Skip to content

Commit

Permalink
🌱 Swap to @rollup/wasm-node for multiarch builds (#1739)
Browse files Browse the repository at this point in the history
On merge to main, #1664 showed that the normal rollup package does not
support the linux-ppc64 platform. This was not caught earlier as
building on github actions always worked with the standard `rollup`
package. The error message displayed on the multiarch build attempt is:

> Error: Your current platform "linux" and architecture "ppc64"
combination is not yet supported by the native Rollup build. Please use
the WASM build "@rollup/wasm-node" instead.

Swapping the package `rollup` to `@rollup/wasm-node` should enable the
ppc64 build.

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 authored Mar 5, 2024
1 parent 8870bf6 commit 4cdf7ca
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 15 deletions.
62 changes: 48 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@rollup/plugin-run": "^3.0.2",
"@rollup/plugin-typescript": "^11.1.6",
"@rollup/plugin-virtual": "^3.0.2",
"@rollup/wasm-node": "^4.12.0",
"@tanstack/eslint-plugin-query": "^4.34.1",
"@types/jest": "^29.5.4",
"@types/node": "^18.14.2",
Expand All @@ -66,7 +67,6 @@
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"rimraf": "^4.4.1",
"rollup": "^4.9.5",
"rollup-plugin-copy": "^3.5.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
Expand Down

0 comments on commit 4cdf7ca

Please sign in to comment.