File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ var webpackConfig = require('./webpack.prod.conf')
1313var spinner = ora ( 'building for production...' )
1414spinner . start ( )
1515
16- rm ( path . join ( config . build . assetsRoot , config . build . assetsSubDirectory ) , err => {
16+ rm ( path . join ( config . build . assetsRoot , '*' ) , err => {
1717 if ( err ) throw err
1818 webpack ( webpackConfig , function ( err , stats ) {
1919 spinner . stop ( )
Original file line number Diff line number Diff line change 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 }},
You can’t perform that action at this time.
0 commit comments