From 535373a96d23391aa30a4aa6ba878a05fc57f08e Mon Sep 17 00:00:00 2001 From: Andrew Watkins Date: Wed, 28 Sep 2016 10:49:34 -0700 Subject: [PATCH] Update prodConfig to handle images --- ui/webpack/prodConfig.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/webpack/prodConfig.js b/ui/webpack/prodConfig.js index e2e9290e5c..7102645e13 100644 --- a/ui/webpack/prodConfig.js +++ b/ui/webpack/prodConfig.js @@ -38,15 +38,15 @@ var config = { }, { test: /\.scss$/, - loader: ExtractTextPlugin.extract('style-loader', 'css-loader!sass-loader'), + loader: ExtractTextPlugin.extract('style-loader', 'css-loader!sass-loader!resolve-url!sass?sourceMap'), }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!postcss-loader'), }, { - test : /\.(ttf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/, - loader : 'file-loader', + test : /\.(png|jpg|ttf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/, + loader : 'file', }, { test: /\.js$/,