Open aleclarson opened 5 years ago
It's possible but you need to configure babel manully, we can implement it with a --modern
flag to simplify this. like this https://cli.vuejs.org/guide/browser-compatibility.html#modern-mode
@issuehunt has funded $90.00 to this issue.
Is setting preset-env
's target: esmodules to true the only thing it needs for the implementation? since there is no polyfill involved
Can bili output both a legacy (ES5) bundle and a "modern" bundle (for newer browsers only)?