scss-bundle icon indicating copy to clipboard operation
scss-bundle copied to clipboard

Support globs

Open ghost opened this issue 7 years ago • 1 comments

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.

ghost avatar Oct 10 '18 15:10 ghost

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

LayZeeDK avatar Oct 16 '18 06:10 LayZeeDK