@wycats correct, and the alternative has no config and fewer rule branches
@lbljeffmo right, which makes this incorrecthttps://twitter.com/lbljeffmo/status/726236426510163968 …
-
-
@wycats adding support (but not requirement) for require("./foo.mjs") does not the public interface, it amends the options for one -
@wycats *does not change the public interface -
@wycats require("./foo.js") means "CJS module" today -- nothing changes about that with addition of .mjs
End of conversation
New conversation -
-
-
@wycats@lbljeffmo file ext req only for relative/absolute `import`s, also https://github.com/nodejs/node-eps/blob/master/002-es6-modules.md#reason-for-decision … discusses if you don't want to transpileThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.