0.1.3 • Published 7 years ago

ember-engines-dedupe-vendor v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Build Status

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.

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 helper
    • dec helper

As you can see, everything is duplicated except for dec helper module.

Before using ember-engines-dedupe-vendor

Before

After using ember-engines-dedupe-vendor

After

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
0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago