aboutsummaryrefslogtreecommitdiff
path: root/juick-www/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/webpack.config.js')
-rw-r--r--juick-www/webpack.config.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/juick-www/webpack.config.js b/juick-www/webpack.config.js
index ed041ee6..ace447f6 100644
--- a/juick-www/webpack.config.js
+++ b/juick-www/webpack.config.js
@@ -5,7 +5,8 @@ module.exports = {
devtool: 'source-map',
entry: {
"scripts" : globby.sync([
- __dirname + "/src/main/static/*.*"
+ __dirname + "/src/main/static/*.*",
+ require.resolve('font-awesome/css/font-awesome.css')
])
},
output: {
@@ -17,8 +18,10 @@ module.exports = {
{ test: /\.jsx?$/, loader: 'eslint', exclude: /node_modules/ }
],
loaders: [
- { test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") }
- ]
+ { test: /\.css$/, loader: ExtractTextPlugin.extract("style-loader", "css-loader") },
+ { test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=100000000000" },
+ { test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000000000" },
+ ]
},
plugins: [
new ExtractTextPlugin("style.css", {