ember-cli / ember-cli/ember-fetch

ember-simple-auth 1.4.0 create a strange file when I "ember build -prod"

Open
#61 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
176
Forks
78
PR merge metrics
No merged PRs in 30d

Description

I switched from `1.3.0` to `1.4.0` and now when I `ember 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/ajax` but 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`.**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.