-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
unify prod/dev add-on build #4215
Conversation
}, | ||
|
||
included: function(app) { | ||
this._super.included.apply(this, arguments); | ||
|
||
if (process.env.EMBER_ENV === 'production') { | ||
add(this.options.babel, 'backlist', ['es6.modules', 'useStrict']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
backlist
-> blacklist
Did I really fuck up that spelling again... |
it was your heart on the line |
05e3aec
to
3364685
Compare
I am so confused by what is going on. Wasn't this merged already? |
@rwjblue nope not yet I think its good to go now, lets see what others say |
}, | ||
|
||
included: function(app) { | ||
this._super.included.apply(this, arguments); | ||
|
||
if (process.env.EMBER_ENV === 'production') { | ||
add(this.options.babel, 'blacklist', ['es6.modules', 'useStrict']); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I run npm run production
the add function fails because this.options.babel
is undefined.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, good catch. I admittedly have been lazy the last few updates here, sorry for not catching.
3364685
to
e1be175
Compare
recent changes are tested in small app + ember data builds with both --prod and not |
Looks good thanks @stefanpenner |
force-push mistake, resurrection of #4206