evanw / esbuild

An extremely fast bundler for the web
https://esbuild.github.io/
MIT License
37.95k stars 1.14k forks source link

Specifying where compiled CSS files stored #3630

Open lighth7015 opened 7 months ago

lighth7015 commented 7 months ago

Hi,

I'm working on a statically generated website written using SolidJS, and I have (mostly) worked out the way to get the project to build the way I need, however I'm having to deal with .css files being compiled and placed right next to my .scss, which isn't particularly helpful, as I could miss a stylesheet when it comes time to deploy;

I could write a custom SCSS loader which stores the files where I want- but that doesn't feel very "in the spirit" of esbuild, lol.

Is there a way to cause compiled css from my Client and server builds to end up in my public directory?

Thank you!

anselmbradford commented 4 months ago

How're you compiling the .scss?