diff --git a/packages/gluestick/src/config/__tests__/__snapshots__/compileWebpackConfig.test.js.snap b/packages/gluestick/src/config/__tests__/__snapshots__/compileWebpackConfig.test.js.snap index fd3ddfff7..0d4cb0278 100644 --- a/packages/gluestick/src/config/__tests__/__snapshots__/compileWebpackConfig.test.js.snap +++ b/packages/gluestick/src/config/__tests__/__snapshots__/compileWebpackConfig.test.js.snap @@ -39,10 +39,6 @@ Object { "style-loader", Object { "loader": "css-loader", - "options": Object { - "minimize": false, - "sourceMap": false, - }, }, Object { "loader": "postcss-loader", @@ -51,8 +47,6 @@ Object { "loader": "sass-loader", "options": Object { "outputStyle": "expanded", - "sourceMap": false, - "sourceMapContents": true, }, }, ], @@ -164,10 +158,6 @@ Object { "style-loader", Object { "loader": "css-loader", - "options": Object { - "minimize": false, - "sourceMap": false, - }, }, Object { "loader": "postcss-loader", @@ -176,8 +166,6 @@ Object { "loader": "sass-loader", "options": Object { "outputStyle": "expanded", - "sourceMap": false, - "sourceMapContents": true, }, }, ], @@ -485,10 +473,6 @@ Object { }, Object { "loader": "css-loader", - "options": Object { - "minimize": false, - "sourceMap": false, - }, }, Object { "loader": "postcss-loader", @@ -497,8 +481,6 @@ Object { "loader": "sass-loader", "options": Object { "outputStyle": "expanded", - "sourceMap": false, - "sourceMapContents": true, }, }, ], @@ -613,10 +595,6 @@ Object { "style-loader", Object { "loader": "css-loader", - "options": Object { - "minimize": false, - "sourceMap": false, - }, }, Object { "loader": "postcss-loader", @@ -625,8 +603,6 @@ Object { "loader": "sass-loader", "options": Object { "outputStyle": "expanded", - "sourceMap": false, - "sourceMapContents": true, }, }, ], diff --git a/packages/gluestick/src/config/webpack/webpack.config.client.js b/packages/gluestick/src/config/webpack/webpack.config.client.js index 6eb507fa4..4d062b3c0 100644 --- a/packages/gluestick/src/config/webpack/webpack.config.client.js +++ b/packages/gluestick/src/config/webpack/webpack.config.client.js @@ -12,8 +12,6 @@ const progressHandler = require('./progressHandler'); const ChunksPlugin = require('./ChunksPlugin'); const getAliasesForApps = require('./getAliasesForApps'); -const isProduction: boolean = process.env.NODE_ENV === 'production'; - module.exports = ( logger: Logger, settings: Object, @@ -94,10 +92,6 @@ module.exports = ( 'style-loader', { loader: `css-loader`, - options: { - sourceMap: !!isProduction, - minimize: !!isProduction, - }, }, { loader: 'postcss-loader', @@ -106,8 +100,6 @@ module.exports = ( loader: 'sass-loader', options: { outputStyle: 'expanded', - sourceMap: !!isProduction, - sourceMapContents: true, }, }, ],