-
Notifications
You must be signed in to change notification settings - Fork 17
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
Prepare for upcoming breaking changes in FastBoot 1.0 #18
Conversation
Btw, here is some context: ember-fastboot/ember-cli-fastboot#360 Not sure what's happening with Travis again, cannot install phantomjs? |
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.
LGTM. I don't have context into what this addon is doing but I am surprised that it is calling fastboot-filter-initializers
.
@@ -46,8 +43,9 @@ module.exports = { | |||
}, | |||
|
|||
config(env, baseConfig) { | |||
if (!env) | |||
if (!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.
When is env
not going to be defined?
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.
Not sure tbh
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.
I can't really remember, why I introduce this guard. Maybe to eliminate any possibility of being the cause of a bug in early days. I will remove this in the next release.
The failing tests are due to yarnpkg/yarn#3138 😞 |
@simonihmig should we force travis to use a later node version? |
Yes, we could so, as a workaround, but should revert once the yarn bug is fixed! |
A few things will be gone with the upcoming FastBoot 1.0 release:
process.env.EMBER_CLI_FASTBOOT
(as there is just one unified build step)initializer/(browser|fastboot)/*
(again, just one build)The changes here should continue to work with pre 1.0 and also support post 1.0 versions.