rollup-plugin-styles
rollup-plugin-styles copied to clipboard
Is it possible to use globs to import sass files?
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?