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?
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!