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

Support Sass's index files #9

Open
chalkygames123 opened this issue Mar 9, 2021 · 3 comments
Open

Support Sass's index files #9

chalkygames123 opened this issue Mar 9, 2021 · 3 comments

Comments

@chalkygames123
Copy link

Hi, thank you for creating the plugin.

Sass's @use, @forward and @import rules have a feature called "Index Files" that when we load a directory itself, its _index.scss or _index.sass used instead.

Could you support that feature?

chalkygames123 added a commit to chalkygames123/front-end-template that referenced this issue Jul 27, 2021
@tedw
Copy link

tedw commented Nov 18, 2022

@chalkygames123 FYI I was able to get it to work by adding index to the path, e.g. @forward "vars/index";

@chalkygames123
Copy link
Author

@tedw Thanks! I have addressed the issue by applying the patch with patch-package, as you can see in the commit linked above.

@sashamorozov
Copy link

@chalkygames123 your solution works, thanks a lot!

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

No branches or pull requests

3 participants