File tree 2 files changed +14
-5
lines changed
2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -124,12 +124,20 @@ module.exports = function(webpackEnv) {
124
124
} ,
125
125
] . filter ( Boolean ) ;
126
126
if ( preProcessor ) {
127
- loaders . push ( {
128
- loader : require . resolve ( preProcessor ) ,
129
- options : {
130
- sourceMap : isEnvProduction && shouldUseSourceMap ,
127
+ loaders . push (
128
+ {
129
+ loader : require . resolve ( 'resolve-url-loader' ) ,
130
+ options : {
131
+ sourceMap : isEnvProduction && shouldUseSourceMap ,
132
+ } ,
131
133
} ,
132
- } ) ;
134
+ {
135
+ loader : require . resolve ( preProcessor ) ,
136
+ options : {
137
+ sourceMap : true ,
138
+ } ,
139
+ }
140
+ ) ;
133
141
}
134
142
return loaders ;
135
143
} ;
Original file line number Diff line number Diff line change 70
70
"react-app-polyfill" : " ^1.0.1" ,
71
71
"react-dev-utils" : " ^9.0.1" ,
72
72
"resolve" : " 1.10.0" ,
73
+ "resolve-url-loader" : " 3.0.1" ,
73
74
"sass-loader" : " 7.1.0" ,
74
75
"semver" : " 6.0.0" ,
75
76
"style-loader" : " 0.23.1" ,
You can’t perform that action at this time.
0 commit comments