scss-bundle
scss-bundle copied to clipboard
Dedupe has no effect on includePaths
Dedupe seems to have no effect on files that are resolved via includePaths
await new Bundler().Bundle("./_theme.scss", ["**/*.scss"], ["./my-foo-bar"]);
_theme.scss
@import "file1";
@import "file2";
file1.scss
@import "file-external";
file-1 {}
file2.scss
@import "file-external"; // this is resolved via includePaths
file-2 {}
file-external.scss
@mixin testMixin {}
output
@mixin testMixin () {}
file-1 {}
@mixin testMixin () {}
file-2 {}