Hi,
I have a react app with vite and we use esbuild to minify JS. I noticed that CSS code in backtick is not minified. Is there an option in ESBuild or Vite to turn it on? I think removing whitespaces from that part should be an easy task for minifier.
export default defineConfig({
plugins: [react(),
esbuild: {
drop: ['console', 'debugger'],
// anything I can set here?
}]
});