ember-tools icon indicating copy to clipboard operation
ember-tools copied to clipboard

Add --production build option

Open ryanflorence opened this issue 12 years ago • 4 comments

Use ember.prod.js when the flag is true

ryanflorence avatar Apr 30 '13 01:04 ryanflorence

use ember.prod and uglify it all

ryanflorence avatar Jun 02 '13 22:06 ryanflorence

:+1: - I'm just getting started with emberjs and ember-tools but was looking for exactly this option straight away!

vitch avatar Sep 14 '13 07:09 vitch

In the meantime, how can I tell Ember build to use ember.prod.js? When I try I get "Error: Cannot find module 'jquery'"

lastobelus avatar Oct 16 '13 04:10 lastobelus

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.

sahat avatar Jan 11 '14 05:01 sahat