Skip to content

Commit eb04d9e

Browse files
authored
chore(webpack): sass-loader with sassOptions (#7089)
1 parent a61a838 commit eb04d9e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

webpack/stylesheets.babel.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ export default {
4444
{
4545
loader: "sass-loader",
4646
options: {
47-
outputStyle: "expanded",
4847
sourceMap: true,
49-
sourceMapContents: "true",
48+
sassOptions: {
49+
outputStyle: "expanded",
50+
// sourceMapContents: "true", // if sourceMap: true, sassOptions.sourceMapContents is ignored
51+
},
5052
},
5153
},
5254
],

0 commit comments

Comments
 (0)