File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 108108 "yarn-deduplicate" : " ^1.1.1"
109109 },
110110 "scripts" : {
111- "clean" : " rm -rf public/assets/*.js && rm -rf public/assets/*. css" ,
111+ "clean" : " rm -rf public/assets/*.{js, css,map} " ,
112112 "watch" : " NODE_ENV=development ./node_modules/.bin/webpack --watch --progress" ,
113113 "build" : " NODE_ENV=development ./node_modules/.bin/webpack --progress" ,
114- "build:production" : " NODE_ENV=production ./node_modules/.bin/webpack --mode production" ,
114+ "build:production" : " yarn run clean && NODE_ENV=production ./node_modules/.bin/webpack --mode production" ,
115115 "serve" : " yarn run clean && PUBLIC_PATH=https://pterodactyl.test:8080 NODE_ENV=development webpack-dev-server --host 0.0.0.0 --hot --https --key /etc/ssl/private/pterodactyl.test-key.pem --cert /etc/ssl/private/pterodactyl.test.pem"
116116 },
117117 "browserslist" : [
You can’t perform that action at this time.
0 commit comments