Posted on dev.to by Gary Chew (DevRel at Google)
"browser2017"conditional export key. The
"browser2017"key points to modern code that targets modern browsers, without the polyfills that bloat our bundles. This change requires support from bundlers and adoption from package authors.
OK … that’s a summary
a bit more
and a bit more
and after that a long article with a lot of details, all good but man I’m so glad I didn’t head down into JS development, that looks like a fucking nightmare.
Morality for AS3 dev, we have
imports thanks to ES4 and sharing/using pre-compiled bytecode libraries (
SWC) is so much more easy.
And look, if JS is stuck to cross-compile to ES5, we can reuse all those JS libraries into AVM2 runtimes (ok … maybe need a bit of polyfill for specific ES5 stuff, but still mostly compatible).
Anyway, the article above, that’s modern JS in 2020 FFS.