ember-engines-dedupe-vendor
v0.1.3
Published
De-duplicate vendor files in your ember engines.
Downloads
15
Readme
ember-engines-dedupe-vendor
De-duplicate vendor files in your ember engines.
If your ember app has multiple lazy-loading engines, and they all installed some awesome addons. The addon vendor files would be duplicated and present in both vendor.js
and engine-vendor.js
files. This addon aims to remove all duplicated vendor modules which have already been in vendor.js
from engine-vendor.js
.
Demo
You can run the dummy app in the project for demo.
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
Dependencies of the dummy app
Main app
- liquid-fire
- ember-concurrency
- ember-composable-helpers
inc
helper
The lazy-loading engine
- liquid-fire
- ember-concurrency
- ember-composable-helpers
inc
helperdec
helper
As you can see, everything is duplicated except for dec
helper module.
Before using ember-engines-dedupe-vendor
After using ember-engines-dedupe-vendor
Installation
$ ember install ember-engines-dedupe-vendor
and done. You don't have to setup anything. It just works.
Compatibility
This addon is tested against the release
, beta
and canary
channels with ember-engines 0.5.0-beta.5
. It is not tested against lts-2.4
and lts-2.8
channels as those versions do not support lazy-loading engines.
Testing
$ ember test
$ ember test --server