-
-
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
[CHORE] cleanup build #6818
[CHORE] cleanup build #6818
Conversation
Asset Size Report for 43cb4ed EmberData shrank by 186.0 B (18.0 B compressed)If any packages had changed sizes they would be listed here. Changeset
Full Asset Analysis
|
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.
Shipping this because I need the work for the deprecation-infra and the change is small and relatively safe. If there are any cleanup comments I'm happy to submit another cleanup for this cleanup?
const options = this.setupOptions(); | ||
const env = getApp(this).env; | ||
const options = this.getEmberDataConfig(); | ||
const env = process.env.EMBER_ENV; |
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.
What caused this change? Do we not need to do getApp for env?
Seems reasonable to me, but @rwjblue would be a much better set of 👀 |
Refactor to use _findHost and provide a shared mechanism for accessing
EmberData
config.Also removes test-infra's VERSION module from our production output if we aren't in a testing environment.