We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5292154 commit dd65318Copy full SHA for dd65318
types/sass-loader/sass-loader-tests.ts
@@ -16,3 +16,15 @@ const loaderOptions: SassLoader.Options = {
16
},
17
webpackImporter: true,
18
};
19
+
20
+const loaderOptionsWithCallback: SassLoader.Options = {
21
+ additionalData: (content, _loaderContext) => {
22
+ return `$env: \"development\";${content}`;
23
+ },
24
+ warnRuleAsWarning: true,
25
+ sourceMap: true,
26
+ sassOptions: {
27
28
29
+ webpackImporter: true,
30
+};
0 commit comments