Skip to content

Commit dd65318

Browse files
committed
Add test
1 parent 5292154 commit dd65318

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

types/sass-loader/sass-loader-tests.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,15 @@ const loaderOptions: SassLoader.Options = {
1616
},
1717
webpackImporter: true,
1818
};
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+
sourceMap: true,
28+
},
29+
webpackImporter: true,
30+
};

0 commit comments

Comments
 (0)