unbuild
unbuild copied to clipboard
How to support es5
Describe the feature
How to combine babel to support typescript files to generate es5 files. For example ?? The syntax is converted to es5
Additional information
- [ ] Would you be willing to help implement this feature?
It's seem not the main missions of unbuild 👀
I can transpile to ES5 using tsc, but it seems not to work with unbuild.
I agree with @peterroe , since unbuild uses esbuild and esbuild does not support es5, at least not out of the box 🤔 .
If you don't need to handle .Vue files, you could probably try something like tsup which should support es5.