babel / website

:globe_with_meridians: The Babel documentation website
https://babeljs.io/docs/en/index.html
MIT License
749 stars 1.31k forks source link

preset-ent.targets: browserslist string vs esmodules #2303

Open dilyanpalauzov opened 4 years ago

dilyanpalauzov commented 4 years ago

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'.

babel-bot commented 4 years ago

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.