Skip to content

Commit 7e70aac

Browse files
committed
Delete old build files before execute build script
1 parent 67d85e6 commit 7e70aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/templates/_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "<%= appname %> project",
55
"scripts": {
66
"dev": "webpack-dev-server --inline --hot --quiet",
7-
"build": "NODE_ENV=production webpack --progress --hide-modules"
7+
"build": "rm -rf build/ && NODE_ENV=production webpack --progress --hide-modules"
88
},
99
"dependencies": {<% if (extraConfig.isUseVueRouter) { %>
1010
"vue-router": "^0.7.13",<% } %>

0 commit comments

Comments
 (0)