aboutsummaryrefslogtreecommitdiff
path: root/juick-www/webpack.config.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-24 22:10:40 +0300
committerGravatar Vitaly Takmazov2016-08-24 23:06:51 +0300
commitf02157b46f0a922ae437f094fbb2b3cec1a53761 (patch)
tree6973eebf62644b5d4694d7d76a0a2e9f5cb4da65 /juick-www/webpack.config.js
parent4d03adb533b78c12888556e500e96c3d13df2fd8 (diff)
font-awesome icons
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", {