Skip to content

Comment on V8 Release 5.1

Comments

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.

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.

ES2015 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/bl... for more information.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.