Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedupe has no effect on includePaths #40

Open
alan-agius4 opened this issue Jan 30, 2018 · 0 comments
Open

Dedupe has no effect on includePaths #40

alan-agius4 opened this issue Jan 30, 2018 · 0 comments

Comments

@alan-agius4
Copy link
Contributor

alan-agius4 commented Jan 30, 2018

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 {}
@alan-agius4 alan-agius4 changed the title dedupe dedupe has no effect on includePaths Jan 30, 2018
@alan-agius4 alan-agius4 changed the title dedupe has no effect on includePaths Dedupe has no effect on includePaths Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant