Open kernoeb opened 1 day ago
If you use --minify-syntax
or minifySyntax: true
, does it work?
If you're talking about the "minifySyntax" from esbuild, it works with this too
If you're talking about the "minify.syntax" from Bun, it doesn't work either, the template literal is kept in the builded javascript file
What is the problem this feature would solve?
Esbuild support bundling template string import : https://github.com/evanw/esbuild/issues/56#issuecomment-643100248
What is the feature you are proposing to solve the problem?
Esbuild transforms the code to something like this :
What alternatives have you considered?
No response