3 ms·
Also the use case in Node of loading files from local disk is very different than the use case of loading scripts over HTTP in the browser.
by nycdotnet 9y ago
Also the use case in Node of loading files from local disk is very different than the use case of loading scripts over HTTP in the browser.
- ricardobeat 9y agoOnly this year the syntax for importing modules at runtime has been worked out. Current behaviour is exactly the same as commonjs and only useful for static analysis, 7 years later.