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 globs #56

Open
ghost opened this issue Oct 10, 2018 · 1 comment
Open

Support globs #56

ghost opened this issue Oct 10, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 10, 2018

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.

@LayZeeDK
Copy link

LayZeeDK commented Oct 16, 2018

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"
  }
]

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

No branches or pull requests

2 participants