scss-bundle
scss-bundle copied to clipboard
Support globs
Is your feature request related to a problem? Please describe. I would like to bundle more than 1 scss file. In other words it would be neat if it would support globs.
Describe the solution you'd like
{
"entry": "./src*.scss",
"dest": "./dist/*.scss"
}
if I have 2 files in the src folder eg. ./src/core.scss and ./src/styles.scss i would like 2 outputs in the ./dist/ folder.
Describe alternatives you've considered At the moment it looks like i will have to write a script to bundle 2 scss files, but the above solution would be neat.
A related or alternative feature would be the option to have an array of config objects in the config file.
For example:
// scss-bundle.config.json
[
{
"entry": "src/core.scs",
"dest": "dist/core.scss"
},
{
"entry": "src/styles.scs",
"dest": "dist/styles.scss"
}
]