Skip to content

Commit e11ed3e

Browse files
author
sanex3339
committed
Fixed postinstall script
1 parent c7dca16 commit e11ed3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"stop": "pm2 delete ecosystem.config.js",
1111
"webpack:dev": "webpack --mode development --config webpack.conf.js --watch --color --progress",
1212
"webpack:prod": "NODE_ENV=production webpack --mode production --config webpack.conf.js --devtool source-map --progress --optimize-minimize",
13-
"postinstall": "npm run updatesemantic",
13+
"postinstall": "npm run updatesemantic && npm run webpack:prod",
1414
"updatesemantic": "cp App/styles/theme.config ./node_modules/semantic-ui-less/theme.config; rm -Rf ./node_modules/semantic-ui-less/site; cp -R App/styles/site ./node_modules/semantic-ui-less/"
1515
},
1616
"author": "",

0 commit comments

Comments
 (0)