@@ -31,7 +31,7 @@ webpack however is not the only module bundler out there. If you are choosing be
31
31
| Feature | webpack/webpack | jrburke/requirejs | substack/node-browserify | jspm/jspm-cli | rollup/rollup | brunch/brunch |
32
32
| ---------| -----------------| -------------------| --------------------------| ---------------| ---------------| ---------------|
33
33
| 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 |
34
- | AMD ` define ` | ** yes** | ** yes** | [ deamdify] ( https://github.com/jaredhanson/deamdify ) | yes | no | yes |
34
+ | AMD ` define ` | ** yes** | ** yes** | [ deamdify] ( https://github.com/jaredhanson/deamdify ) | yes | [ rollup-plugin-amd ] ( https://github.com/brunch/uglify-js-brunch ) | yes |
35
35
| AMD ` require ` | ** yes** | ** yes** | no | yes | no | yes |
36
36
| AMD ` require ` loads on demand | ** yes** | with manual configuration | no | yes | no | no |
37
37
| CommonJS ` exports ` | ** yes** | only wrapping in ` define ` | ** yes** | yes | [ commonjs-plugin] ( https://github.com/rollup/rollup-plugin-commonjs ) | yes |
@@ -40,7 +40,7 @@ webpack however is not the only module bundler out there. If you are choosing be
40
40
| Concat in require ` require("./fi" + "le") ` | ** yes** | no♦ | no | no | no | |
41
41
| Debugging support | ** SourceUrl, SourceMaps** | not required | SourceMaps | ** SourceUrl, SourceMaps** | ** SourceUrl, SourceMaps** | SourceMaps |
42
42
| Dependencies | 19MB / 127 packages | 11MB / 118 packages | ** 1.2MB / 1 package** | 26MB / 131 packages | ?MB / 3 packages | |
43
- | ES2015 ` import ` /` export ` | ** yes** (vr. 2) | no | no | ** yes** | ** yes** | yes, via [ es6 module transpiler] ( https://github.com/gcollazo/es6-module-transpiler-brunch )
43
+ | ES2015 ` import ` /` export ` | ** yes** (webpack 2) | no | no | ** yes** | ** yes** | yes, via [ es6 module transpiler] ( https://github.com/gcollazo/es6-module-transpiler-brunch )
44
44
| Expressions in require (guided) ` require("./templates/" + template) ` | ** yes (all files matching included)** | no♦ | no | no | no | no |
45
45
| Expressions in require (free) ` require(moduleName) ` | with manual configuration | no♦ | no | no | no | |
46
46
| Generate a single bundle | ** yes** | yes♦ | yes | yes | yes | yes |
0 commit comments