ember-resolver is an ember-cli addon, and should be installed with ember install:
ember install ember-resolver
This resolver package supports feature flags for experimental changes. Feature
flag settings change how ember-resolver compiles into an ember-cli's
vendor.js, so you should think of them as an application build-time option.
Feature flags are set in an application's config/environment.js:
Ember RFC #154
describes an improved resolution strategy and filename-on-disk
layout for Ember applications. To experiment with this feature
it must be enabled as described above, then use the src/
directory on disk. You can generate a new app that uses
this layout by using the following commands:
# Install Ember-CLI canary globally:npm install -g ember-cli/ember-cli
# Create a new app with the module unification blueprint
ember new my-app -b ember-module-unification-blueprint
It builds an glimmer resolver config and passes it to the resolver.
It starts with a src/ based layout on disk.
ember-resolver is normally bumped with ember-cli releases. To install a newer
version use yarn or npm. For example:
yarn upgrade ember-resolver
Migrating from bower
Before v1.0.1 ember-resolver was primarially consumed bia bower. To migrate
install the addon version via yarn or npm. If you're currently using
ember-resolver v0.1.x in your project, you should uninstall it:
bower uninstall ember-resolver --save
You can continue to use ember-resolver v0.1.x as a bower package, but be
careful not to update it to versions greater than v1.0.