File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ Note that `sass-loader` processes the non-indent-based `scss` syntax by default.
8888 loader: ' sass-loader' ,
8989 options: {
9090 // you can also read from a file, e.g. `variables.scss`
91- data: ` $color: red;`
91+ // use `data` here if sass-loader version < 8
92+ prependData: ` $color: red;`
9293 }
9394 }
9495 ]
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ module.exports = {
8888 loader: ' sass-loader' ,
8989 options: {
9090 // вы можете также указать файл, например `variables.scss`
91- data: ` $color: red;`
91+ // use `data` here if sass-loader version < 8
92+ prependData: ` $color: red;`
9293 }
9394 }
9495 ]
Original file line number Diff line number Diff line change @@ -88,7 +88,8 @@ module.exports = {
8888 loader: ' sass-loader' ,
8989 options: {
9090 // 你也可以从一个文件读取,例如 `variables.scss`
91- data: ` $color: red;`
91+ // 如果 sass-loader 版本 < 8,这里使用 `data` 字段
92+ prependData: ` $color: red;`
9293 }
9394 }
9495 ]
You can’t perform that action at this time.
0 commit comments