Add --production build option
Opened this issue · 4 comments
ryanflorence commented
Use ember.prod.js when the flag is true
ryanflorence commented
use ember.prod and uglify it all
vitch commented
👍 - I'm just getting started with emberjs and ember-tools but was looking for exactly this option straight away!
lastobelus commented
In the meantime, how can I tell Ember build to use ember.prod.js? When I try I get "Error: Cannot find module 'jquery'"
sahat commented
I am also getting the Error: Cannot find module 'jquery' with the following config:
require('../vendor/jquery-1.10.2');
require('../vendor/handlebars-1.1.2');
require('../vendor/ember-1.3.0');
require('../vendor/ember-data-1.0.0-beta.5');
Update: Works after I stripped version numbers from the filenames and updated require paths!
require('../vendor/jquery');
require('../vendor/handlebars');
require('../vendor/ember');
require('../vendor/ember-data');
This needs to be documented somewhere.