Faster JS File parse/eval. Similar to optimize-js but configurable. Allowing the developer to choose which module should be lazy, and which should be eager.
Why is this configuration important? There is overhead to eager parsing all modules, but if a module is executed immediately that overhead is non-optional. Alternatively a module can be "pre-parsed" which is much more efficient, unfortunately if that module is "pre-parsed" and then immediately invoked it will then also be fully parsed, essentially duplicating work.
Examples of Lazy and Eager modules:
app/app
or app/templtes/application
ember install ember-cli-optimize
ember serve
npm test
(Runs ember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit http://ember-cli.com/.