ember-cli / ember-cli/ember-fetch

Version 6.7.2 onwards seems not to transpile to es5 (Caused IE11 Blank screen, with no console errors)

Open
#435 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
176
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Not sure what's causing this bug, but it appears that ember-fetch is not transpiling to es5 on version 6.7.2 and over

Using Ember-cli 3.15.1
Confirmed using es-check

Reproduction steps:
In terminal:
npm i es-check -g
Using an Ember app with ember fetch version 6.7.2 or over
npm i
ember build --environment production
es-check es5 './dist/**/*.js'

Expected result: ES-Check: there were no ES version matching errors!

Actual result: ES-Check: there were 1 ES version matching errors.
· erroring file: ./dist/ember-fetch/fetch-fastboot-38cfd9007f94f81f5a2bc13690efc343.js
· error: SyntaxError: The keyword 'const' is reserved (3:0)

We get the expected result with version 6.7.0

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.