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

Is it possible to use globs to import sass files? #219

Open
stefanobartoletti opened this issue Jul 19, 2022 · 0 comments
Open

Is it possible to use globs to import sass files? #219

stefanobartoletti opened this issue Jul 19, 2022 · 0 comments

Comments

@stefanobartoletti
Copy link

stefanobartoletti commented Jul 19, 2022

I'd like to use a glob to import multiple sass files into the final bundle.

As an example, if I have the following structure

style.scss
_partial-1.scss
_partial-2.scss
_partial-3.scss

I would need to import the partials individually inside style.scss, like this:

// style.scss
@import 'partial-1.scss';
@import 'partial-2.scss';
@import 'partial-3.scss';

I'd like to be able to use a single import statement with a glob, like this

// style.scss
@import '*.scss';

Is it possible to do this with this plugin?

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

1 participant