Skip to content

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

@Stoobaart

Description

@Stoobaart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions