Addresses issues with r.js and ember non-prod builds
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.npmignore
README.md
mimosa-config.js
package.json

README.md

mimosa-fix-rjs-ember

Overview

This addresses issues introduced with ember 1.7 beta builds. Starting with ember 1.7, and, I believe, only in beta/canary builds, ember defines its own 'ember' module id. If you have an 'ember' module ID also defined, r.js will get confused and not properly bundle your app.

You do not need this module if you are working with ember 1.8+.

For more details, see the following:

For more information regarding Mimosa, see http://mimosa.io.

Usage

Add 'fix-rjs-ember' to your list of modules. Mimosa will install the module for you when you start up.

Functionality

This adjusts your ember.js, tweaking it so define('ember', ...) does not clash with your own ember. It only does this when the -o/--optimize flag is engaged.

Default Config

This module has no config.