Skip to content

Commit b3d785f

Browse files
authored
去掉sciprts里的rimraf, 在build.js中做修改
1 parent 32c1920 commit b3d785f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"dev": "node build/dev-server.js",
99
"start": "node build/dev-server.js",
10-
"build": "rimraf dist/** && node build/build.js"{{#unit}},
10+
"build": "node build/build.js"{{#unit}},
1111
"unit": "cross-env BABEL_ENV=test karma start test/unit/karma.conf.js --single-run"{{/unit}}{{#e2e}},
1212
"e2e": "node test/e2e/runner.js"{{/e2e}}{{#if_or unit e2e}},
1313
"test": "{{#unit}}npm run unit{{/unit}}{{#unit}}{{#e2e}} && {{/e2e}}{{/unit}}{{#e2e}}npm run e2e{{/e2e}}"{{/if_or}}{{#lint}},

0 commit comments

Comments
 (0)