Skip to content

Commit

Permalink
feat(bundler): auto tracing for requirejs/systemjs
Browse files Browse the repository at this point in the history
remove all lib/importer files.
remove most of amodro-tracing.
manual efficient js and html tracing for aurelia.
remove irrelevant tracing cache.
cover all aurelia-webpack-plugin covers, plus more edge cases.
more permissive, usage of PLATFORM.moduleName is NOT required.
almost zero manual maintenance of aurelia.json dependencies.
fix node id compatibility issue #831 for both requirejs and systemjs.
fix bundles moduleIds format for modules need plugin.
fix compatibility issue with yarn workspaces.
support npm package "main":"./lib" when main file is lib/index.js.
improve backwards compatibility by ignoring main:false.
simplify and reduce source code, but increase test coverge.
add "au run --watch --auto-install" for frictionless dev flow.
best guess on package manager 'yarn' to avoid 'npm i' error on yarn
controlled node_modules.
overtake webpack on simplicity, usability, compatibility and flexibility,
but probably not on performance.
perform slightly faster than existing amodro-trace + cache.

Supersede #853, #842, #831
BREAKING CHANGE: require minor user code change to support non-js main, like "main": "font-awesome.css"
BREAKING CHANGE: remove support of undocumented "main": false, replace with generic "lazyMain": true. But this is handled transparently without breaking user's existing app.
  • Loading branch information
3cp committed Sep 27, 2018
1 parent c91fb3e commit c4ce02c
Show file tree
Hide file tree
Showing 77 changed files with 4,238 additions and 5,415 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"strict": ["error", "global"],
"no-console": 0,
"no-inner-declarations": 0,
"no-undef": 2,
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
Expand All @@ -20,6 +21,8 @@
}
},
"env": {
"node": true
"node": true,
"es6": true,
"jasmine": true
}
}
42 changes: 0 additions & 42 deletions lib/build/amodro-trace/config.js

This file was deleted.

260 changes: 0 additions & 260 deletions lib/build/amodro-trace/index.js

This file was deleted.

Loading

0 comments on commit c4ce02c

Please sign in to comment.