From 82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Apr 2017 03:09:25 +0200 Subject: Reorganize module loading. We now use webpack instead of SystemJS, effectively bundling modules into one file (plus commons chunks) for every entry point. This results in a much smaller extension size (almost half). Furthermore we use yarn/npm even for extension run-time dependencies. This relieves us from manually vendoring and building dependencies. It's also easier to understand for new developers familiar with node. --- thirdparty/systemjs/docs/es6-modules-overview.md | 108 ----------------------- 1 file changed, 108 deletions(-) delete mode 100644 thirdparty/systemjs/docs/es6-modules-overview.md (limited to 'thirdparty/systemjs/docs/es6-modules-overview.md') diff --git a/thirdparty/systemjs/docs/es6-modules-overview.md b/thirdparty/systemjs/docs/es6-modules-overview.md deleted file mode 100644 index 82f127548..000000000 --- a/thirdparty/systemjs/docs/es6-modules-overview.md +++ /dev/null @@ -1,108 +0,0 @@ -## Background - -### Modules and Module Loaders - -A module is simply a JavaScript file written with module syntax. Modules _export_ values, which can then be _imported_ by other modules. - -[CommonJS](http://wiki.commonjs.org/wiki/CommonJS) and [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) JavaScript files are modules. - -A module loader provides the ability to dynamically load modules, and also keeps track of all loaded modules in a module registry. - -Typically, in production, the module registry would be populated by an initial compiled bundle of modules. Later in the page state, it may become necessary to dynamically -load a new module. This module can then share dependencies with the initial page bundle without having to reload any dependencies. - -Module code is treated differently to scripts due to the nature of exports and imports. -This is why the `