File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,7 @@ class WebpackConfig {
116
116
this . copyFilesConfigs = [ ] ;
117
117
this . sassOptions = {
118
118
resolveUrlLoader : true ,
119
- resolveUrlLoaderOptions : {
120
- engine : 'postcss' ,
121
- keepQuery : false ,
122
- removeCR : false ,
123
- debug : false ,
124
- silent : false
125
- }
119
+ resolveUrlLoaderOptions : { }
126
120
} ;
127
121
this . preactOptions = {
128
122
preactCompat : false
Original file line number Diff line number Diff line change @@ -30,10 +30,12 @@ module.exports = {
30
30
// entry file, not the file that contains the url()
31
31
sassLoaders . push ( {
32
32
loader : 'resolve-url-loader' ,
33
- options : {
34
- sourceMap : webpackConfig . useSourceMaps ,
35
- ...webpackConfig . sassOptions . resolveUrlLoaderOptions
36
- }
33
+ options : Object . assign (
34
+ {
35
+ sourceMap : webpackConfig . useSourceMaps
36
+ } ,
37
+ webpackConfig . sassOptions . resolveUrlLoaderOptions
38
+ )
37
39
} ) ;
38
40
}
39
41
You can’t perform that action at this time.
0 commit comments