Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bundler): auto tracing for requirejs/systemjs
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