microbundle
microbundle copied to clipboard
a possible way to set the name of the bundled css file in dist folder
Hey, i want to change the name of the css file that got bundled in dist folder from index.css to any name i want.
like here in this image i want to change the name of the bundled css file to rts.css.
can I do this?
The name matches your output JS, I believe. If you want to name it something else you'll need to use a post-build script:
"build": "microbundle ... && mv dist/index.css dist/rts.css"