-
Notifications
You must be signed in to change notification settings - Fork 142
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
Production builds produce incorrect browser runtimes for fastboot assets #968
Comments
Some background information: When we encounter a fastboot asset (such as |
That is how it's supposed to work. But we're supposed to run the build twice, so that we have both a browser-optimized asset and a fastboot-optimized asset. This is what the |
@ef4 Is this double build supposed to be working or is it not implemented? |
It's supposed to be working and tested. See |
That runs both in-browser tests and fastboot tests for both development and production. |
I think this was fixed by #974 |
Steps to reproduce:
git clone git@github.com:thoov/fastboot-macro-issue.git
cd fastboot-macro-issue && yarn
Then running the following commands:
CLASSIC=true ember s
CLASSIC=true ember s -prod
ember s
And visiting http://ocalhost:4200 in the browser you will correctly see "browser". However if you run:
ember s -prod
you will see "fastboot" printed indicating that the fastboot service is being used and not the app's service.
The text was updated successfully, but these errors were encountered: