aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--juick-www/package.json2
-rw-r--r--juick-www/webpack.config.js2
2 files changed, 3 insertions, 1 deletions
diff --git a/juick-www/package.json b/juick-www/package.json
index 833707b4..31bab35b 100644
--- a/juick-www/package.json
+++ b/juick-www/package.json
@@ -16,7 +16,9 @@
"expose-loader": "^0.7.1",
"extract-text-webpack-plugin": "^1.0.1",
"globby": "^4.1.0",
+ "script-loader": "^0.7.0",
"style-loader": "^0.13.1",
+ "uglify-loader": "^1.3.0",
"webpack": "^1.13.1"
}
}
diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js
index d72c23e5..3a689a28 100644
--- a/juick-www/webpack.config.js
+++ b/juick-www/webpack.config.js
@@ -14,7 +14,7 @@ module.exports = {
module: {
loaders: [
{ test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") },
- { test: /scripts\.js$/, exclude: /node_modules/, loader: "expose?Juick" },
+ { test: /scripts\.js$/, exclude: /node_modules/, loader: "script!uglify" },
]
},
plugins: [