3 ms·
What's the latest word on native ES2015 module support (i.e. the import keyword) in V8 or Node.js? Every ES2015 comparison table I know omits it, but it's the b
by Rezo 10y ago
What's the latest word on native ES2015 module support (i.e. the import keyword) in V8 or Node.js? Every ES2015 comparison table I know omits it, but it's the big one that could significantly reduce the modern JS toolchain complexity.
- nostrademons 10y agohttps://bugs.chromium.org/p/v8/issues/detail?id=1569#c53 https://bugs.chromium.org/p/v8/issues/detail?id=1569#c53 There's been some activity lately, but so far just looks like they're laying groundwork. Dunno where it is in the priority list. The last blocker was supposedly the finalization of the HTML5 module-loader spec, and that came out a couple weeks ago.
- natorion 10y agoES2015 modules do not take HTML/host environment into consideration. There is still some spec work missing there. See https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/$20Intent$20to$20Implement$3A$20%3Cscript$20type$3D%22module%22%3E/blink-dev/uba6pMr-jec/tXdg6YYPBAAJ https://groups.google.com/a/chromium.org/forum/#!searchin/bl... for more information.