Skip to content

Commit 3047280

Browse files
committed
build: clean before building
1 parent 5cbfd41 commit 3047280

File tree

3 files changed

+96
-1
lines changed

3 files changed

+96
-1
lines changed

examples/quickstart/package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 91 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"LICENSE"
1414
],
1515
"scripts": {
16-
"build": "run-s lib:js:build",
16+
"clean": "shx rm -rf dist",
17+
"build": "run-s clean lib:js:build",
1718
"dev": "run-p lib:watch lib:test:watch",
1819
"serve": "serve dist -p 8080",
1920
"test": "run-s build test:lib test:quickstart",
@@ -82,6 +83,7 @@
8283
"rollup-plugin-terser": "^7.0.2",
8384
"sakura.css": "^1.0.0",
8485
"serve": "^11.2.0",
86+
"shx": "^0.3.4",
8587
"tslib": "^2.3.1",
8688
"typescript": "^4.4.3"
8789
},

0 commit comments

Comments
 (0)