Skip to content

v2.8.0 / #1058 breaks compatibility with Internet Explorer (template strings) #1084

Closed
@aloker

Description

@aloker

Bug report

After an upgrade to 2.8.1, my app does not work in Internet Explorer 11 anymore.
Error:
SCRIPT1014: Invalid character

The error points to

type: `webpack${type}`,

IE does not support template literals according to https://kangax.github.io/compat-table/es6/

This change and many other template-literals were introduced in #1058

Packages used:
webpack@3.5.6
webpack-dev-server@2.8.1
react@6.26.0 (presets: env, stage-1, react and flow, plugins: react-hot-loader/babel, react-html-attrs, transform-decorators-legacy, syntax-dynamic-import)

I'm running Windows 10 Pro 1703

Rolling back to 2.7.1 fixes the issue.

Please consider undoing the usage of template literals as this is a show-stopper for testing on IE during development.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions