Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix webpack production build

dominik-zeglen80bd15f670dc
diff --git a/webpack.config.js b/webpack.config.js
index eb43105828..a69e103dd0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -16,7 +16,7 @@ if (process.env.NODE_ENV === 'production') {
filename: '[name].[chunkhash].js',
publicPath: 'https://saleor-demo.s3.amazonaws.com/assets/'
};
- fileLoaderPath = 'file?name=[name].[hash].[ext]';
+ fileLoaderPath = 'file-loader?name=[name].[hash].[ext]';
extractTextPlugin = new ExtractTextPlugin('[name].[contenthash].css');
} else {
output = {