Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --production build option #47

Open
ryanflorence opened this issue Apr 30, 2013 · 4 comments
Open

Add --production build option #47

ryanflorence opened this issue Apr 30, 2013 · 4 comments

Comments

@ryanflorence
Copy link
Owner

Use ember.prod.js when the flag is true

@ryanflorence
Copy link
Owner Author

use ember.prod and uglify it all

@vitch
Copy link

vitch commented Sep 14, 2013

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

@lastobelus
Copy link

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
Copy link

sahat commented Jan 11, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants