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

Multi level filter imports #173

Open
maoberlehner opened this issue Jul 5, 2018 · 1 comment
Open

Multi level filter imports #173

maoberlehner opened this issue Jul 5, 2018 · 1 comment

Comments

@maoberlehner
Copy link
Owner

Selector filtering goes only one level deep. This means, if you're importing a file with selector filtering which is importing other files, those files are not filtered but imported as is. On a technical level, there is no good solution for this problem. One possibility would be to just pass the filters to all imports in the line but this carries the risk of filtering selectors on which one of the imported files might depend and therefore break the import. I might add this as an optional feature (which can be activated on demand) in the future – let me know if you're interested in multi level filter imports.

@gilsdav
Copy link

gilsdav commented Oct 26, 2018

@maoberlehner
Hello, I really need this feature for my build tool.
I filter on a main file and all sub imports are included in all files.
Projects became huge.
This feature will help us.
+1000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants