Skip to content

Commit

Permalink
Fix sass importLoaders (#8281)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusc23 committed Jan 30, 2020
1 parent dd0df73 commit e530598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/config/webpack.config.js
Expand Up @@ -531,7 +531,7 @@ module.exports = function(webpackEnv) {
exclude: sassModuleRegex,
use: getStyleLoaders(
{
importLoaders: 2,
importLoaders: 3,
sourceMap: isEnvProduction && shouldUseSourceMap,
},
'sass-loader'
Expand All @@ -548,7 +548,7 @@ module.exports = function(webpackEnv) {
test: sassModuleRegex,
use: getStyleLoaders(
{
importLoaders: 2,
importLoaders: 3,
sourceMap: isEnvProduction && shouldUseSourceMap,
modules: {
getLocalIdent: getCSSModuleLocalIdent,
Expand Down

0 comments on commit e530598

Please sign in to comment.