detecting JS language mode for tools
zenparsing at gmail.com
Mon Jan 27 20:43:55 PST 2014
> My argument was that Node.js has both non-module and module files with a
> common suffix, .js.
Yes - but Node-modules and non-modules can be parsed the same way, so a
common extension makes sense. But when a file needs to be parsed a
different way in Node, how's that's done? By registered file extensions,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss