Skip to content

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

Disable style-loader in dev mode

Unknown39edc6861eea
diff --git a/webpack.config.js b/webpack.config.js
index abbd9b0ffa..272618c998 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -78,7 +78,7 @@ module.exports = (env, argv) => {
{
test: /\.scss$/,
use: [
- devMode ? "style-loader" : MiniCssExtractPlugin.loader,
+ MiniCssExtractPlugin.loader,
{
loader: 'css-loader',
options: {