Skip to content

Commit 5ea3422

Browse files
committed
fix: remove rollup demo build from prepare script
The build:rollup step produces dist/ which is not included in the package files field and is only used for the demo. Its dependency on systemjs breaks on Node 20+ due to exports field enforcement. Only run build:analyze:json in prepare, which is what consumers need.
1 parent 569557b commit 5ea3422

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"analytics"
2727
],
2828
"scripts": {
29-
"prepare": "npm run build",
29+
"prepare": "npm run build:analyze:json",
3030
"build": "run-s build:**",
3131
"start": "es-dev-server --app-index demo/index.html --node-resolve --open --watch",
3232
"start:build": "npm run build && es-dev-server --root-dir dist --app-index index.html --compatibility none --open",

0 commit comments

Comments
 (0)