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

Fix for fastboot applications. #23

Closed
wants to merge 2 commits into from

Conversation

williamweckl
Copy link

@williamweckl williamweckl commented Apr 14, 2018

Closes #19.

Problem

ENV EMBER_CLI_FASTBOOT is not working anymore and we still need to load script even if we have a fastboot application, we just don't want to run it on server.

Solution

Write a condition to run new relic tracking code only when FastBoot is undefined.

@sir-dunxalot
Copy link
Owner

Thank you for taking the time to make this update. Do you have a way to add some test support to guarantee that Ember FastBoot is supported by this PR?

Under the node_tests dir of this addon, there are node tests that might support fastboot.

However, even simpler might be to use ember-addon-fastboot-tests.

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

Successfully merging this pull request may close these issues.

EMBER_CLI_FASTBOOT no longer provided
2 participants