-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
ember-simple-auth 1.4.0 create a strange file when I "ember build -prod" #61
Comments
This file is part of I think this is a won't fix. @johnunclesam if you require some help with some issue you having because of the file, please reopen. |
@tchak is there a way for this to only be included for fastboot builds? |
@xm what do you mean by "fastboot build"? There is only one build as of fastboot 1.0 |
In other words: if my app is not using fastboot, how do I avoid this step ever happening? Is there a flag to set, or can a change be made in ember-fetch to detect fastboot? |
After some thought there may be a solution. If |
I switched from
1.3.0
to1.4.0
and now when Iember build -prod
I have a new file in:dist/ember-fetch/fastboot-fetch-a4c28b6b7b24781cc7616fb44c1def25.js
:(function(){define('fetch',['exports'],function(a){var b=FastBoot.require('node-fetch');a['default']=b,a.Headers=b.Headers,a.Request=b.Request,a.Response=b.Response}),define('fetch/ajax',['exports'],function(){throw new Error('You included
fetch/ajaxbut it was renamed to
ember-fetch/ajax')})})();
Why this?
I don't want this file in my prod dist folder.
I'm not using
fastboot
.The text was updated successfully, but these errors were encountered: