Skip to content

Commit a35051e

Browse files
committed
chore: fix build-script to allow accepting watch flag
1 parent 805b441 commit a35051e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"copy-demo": "cp -r ./demo ./dist/",
2020
"start": "npm run build && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
2121
"start:bundle": "npm run bundle && concurrently -k -r \"rollup -c rollup.config.js --watch\" \"wds --open dist/demo/index.html --watch --config ./web-dev-server.bundle.config.js\"",
22-
"build": "rimraf dist && tsc && npm run analyze -- --exclude dist && npm run copy-demo",
22+
"build": "rimraf dist && npm run copy-demo && npm run analyze -- --exclude dist && tsc ",
2323
"bundle": "rimraf dist && rollup -c rollup.config.js",
2424
"test": "npm run build && wtr --coverage",
2525
"test:watch": "npm run build && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",

0 commit comments

Comments
 (0)