denosass
denosass copied to clipboard
Specify CLI glob patterns
Hey is it possible to specify glob patterns in the CLI? I would like to compile different sass files which are nested differently under a certain dist
folder.
As an example, I have the following folders:
src/client/a.scss
src/client/generator/b.scss
And I would like to compile the following files from it:
dist/a.css
dist/generators/b.css
In ESBuild I can do it like this:
deno run -A https://deno.land/x/[email protected]/mod.js --outdir=dist/ ./src/client/**/index.ts
This generates a glob pattern which is used to store the files with the same nesting under dist. Is there something similar for this sass CLI?
Why would this be useful?
If you have several subpages in your project and do not want to bundle all style files into one file.
Thanks for considering. ~Mqx