From f02157b46f0a922ae437f094fbb2b3cec1a53761 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 24 Aug 2016 22:10:40 +0300 Subject: font-awesome icons --- juick-www/webpack.config.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'juick-www/webpack.config.js') 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", { -- cgit v1.2.3