summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-21 17:22:09 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 16:59:36 +0100
commitdd0af4570e56744ae1ca9264e63041fd5bbe10ba (patch)
treee85b84ff0e6e53ee9c46903a9330ed327cb806b3 /package.json
parentd05b01c959f37665d54f809274536d27fc251bf4 (diff)
downloadbrokentalents-dd0af4570e56744ae1ca9264e63041fd5bbe10ba.tar.gz
brokentalents-dd0af4570e56744ae1ca9264e63041fd5bbe10ba.zip
Split CSS and JS, build
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json
index a0b961c..dbdc353 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,9 @@
"babel-preset-env": "^1.6.1",
"css-loader": "^0.28.11",
"html-webpack-plugin": "^3.2.0",
+ "mini-css-extract-plugin": "^0.4.0",
"node-sass": "^4.9.0",
+ "optimize-css-assets-webpack-plugin": "^4.0.1",
"sass-loader": "^7.0.1",
"vue-loader": "^15.0.9",
"vue-router": "^3.0.1",
@@ -36,7 +38,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"backend": "node backend/index.js",
"dev": "webpack-dev-server --mode development --progress --hot --watch-poll",
- "build": "webpack --mode production --progress"
+ "build": "NODE_ENV='production' webpack --mode production --progress"
},
"repository": {
"type": "git",