You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Additional chunks are loaded on demand |**yes**|**yes**| no |[System.import](https://github.com/systemjs/systemjs/blob/master/docs/system-api.md#systemimportmodulename--normalizedparentname---promisemodule)| no | no |
| Other Node.js stuff | process, __dir/filename, global | - | process, __dir/filename, global | process, __dir/filename, global for cjs | global ([commonjs-plugin](https://github.com/rollup/rollup-plugin-commonjs)) |
53
+
| Node.js built-in libs `require("path")`|**yes**| no |**yes**|**yes**|[node-resolve-plugin](https://github.com/rollup/rollup-plugin-node-resolve)||
54
+
| Other Node.js stuff | process, __dir/filename, global | - | process, __dir/filename, global | process, __dir/filename, global for cjs | global ([commonjs-plugin](https://github.com/rollup/rollup-plugin-commonjs)) ||
| Replacement for browser |`web_modules`, `.web.js`, package.json field, alias config option | alias option | package.json field, alias option | package.json, alias option | no |
57
+
| Replacement for browser |`web_modules`, `.web.js`, package.json field, alias config option | alias option | package.json field, alias option | package.json, alias option | no ||
58
58
| Requirable files | file system |**web**| file system | through plugins | file system or through plugins | file system |
59
-
| Runtime overhead | **243B + 20B per module + 4B per dependency** | 14.7kB + 0B per module + (3B + X) per dependency | 415B + 25B per module + (6B + 2X) per dependency | 5.5kB for self-executing bundles, 38kB for full loader and polyfill, 0 plain modules, 293B CJS, 139B ES2015 System.register before gzip | **none for ES2015 modules** (other formats may have)
59
+
| Runtime overhead |**243B + 20B per module + 4B per dependency**| 14.7kB + 0B per module + (3B + X) per dependency | 415B + 25B per module + (6B + 2X) per dependency | 5.5kB for self-executing bundles, 38kB for full loader and polyfill, 0 plain modules, 293B CJS, 139B ES2015 System.register before gzip |**none for ES2015 modules** (other formats may have)||
60
60
| Watch mode | yes | not required | yes | not needed in dev | no | yes |
61
61
62
62
♦ in production mode (opposite in development mode)
0 commit comments