All the available module kinds.
All the available module kinds.
They are listed in decreasing order of "importance", as judged by whoever maintains the back-ends.
A CommonJS module (notably used by Node.js).
A CommonJS module (notably used by Node.js).
Imported modules are fetched with require
. Exports go to the exports
module-global variable.
No module structure.
No module structure.
With this module kind, exports are stored on the global object by
default, or to a separate object specified with
ScalaJSEnv.exportsNamespace
.
Imports are not supported.