Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.25 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.25 KB

Ember New Modules Shim

ember-new-modules-shim is built and maintained by DockYard, contact us for expert Ember.js consulting.

This is a shim addon that declares ES6 modules that shim the Ember global, according to the new JavaScript Modules API RFC.

Warning

This is an expirimental shim. This is for science, not for profit.

Keep in mind that as this RFC evolves so will the addon so if you're adverse to churn in your app you may not want to opt in yet.

Installation

ember install ember-new-modules-shim

(Optional) Disabling ember-cli-shims

I recommend doing this after making the transition.

Start with uninstalling the ember-cli-shims Bower module:

bower uninstall ember-cli-shims --save

Then add the following config to your EmberApp in your ember-cli-build.js file:

module.exports = function(defaults) {
  var app = new EmberApp(defaults, {
    vendorFiles: {
      'app-shims.js': null
    }
  });

  return app.toTree();
};

Legal

DockYard, Inc. © 2016

@dockyard

Licensed under the MIT license