diff --git a/react/webpack.config.js b/react/webpack.config.js index 767303a..a830a32 100644 --- a/react/webpack.config.js +++ b/react/webpack.config.js @@ -121,7 +121,7 @@ if (isProduction) { test: /\.scss$/, loader: ExtractTextPlugin.extract({ fallback: 'style-loader', - use: 'css-loader!postcss-loader!sass-loader', + use: 'css-loader!postcss-loader!sass-loader!file-loader!url-loader', }), } ); @@ -160,7 +160,7 @@ module.exports = { }, output: { path: buildPath, - publicPath: '/', + publicPath: '', filename: 'app-[hash].js', }, module: {