Skip to content

Commit 08ee352

Browse files
committed
avoiding mutation
1 parent 7f3306d commit 08ee352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loaders/sass.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = {
3737

3838
sassLoaders.push({
3939
loader: 'sass-loader',
40-
options: Object.assign(sassOptions, {
40+
options: Object.assign({}, sassOptions, {
4141
// needed by the resolve-url-loader
4242
sourceMap: (true === webpackConfig.sassOptions.resolve_url_loader) || webpackConfig.useSourceMaps
4343
}),

0 commit comments

Comments
 (0)