website icon indicating copy to clipboard operation
website copied to clipboard

preset-ent.targets: browserslist string vs esmodules

Open dilyanpalauzov opened this issue 5 years ago • 1 comments

Please write in the documentation to which browserlist string preset-env.targets: '...' does targets:{esmodules: true} equate.

Is esmodules:false the same as 'ie11' and esmodules:true the same as 'defaults and not ie 11'?

I like very much the idea of splitting the scripts into type=module/nomodule html script tag, but I do not want to generate module-syntax for very old browsers, that understand 'type=module'.

dilyanpalauzov avatar Jul 29 '20 16:07 dilyanpalauzov

Hey @dilyanpalauzov! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.

babel-bot avatar Jul 29 '20 16:07 babel-bot