Skip to content
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

2.10.0 IE11 Invalid character #1269

Closed
1 of 2 tasks
luisbelloch opened this issue Jan 9, 2018 · 2 comments
Closed
1 of 2 tasks

2.10.0 IE11 Invalid character #1269

luisbelloch opened this issue Jan 9, 2018 · 2 comments

Comments

@luisbelloch
Copy link

  • Operating System: High Sierra (Server), Windows 10+IE11 (Client)
  • Node Version: 9.3
  • NPM Version: 5.6
  • webpack Version: 3.10.0 5291b875078cf2abf42bdd23afe3f8f96c17d725
  • webpack-dev-server Version: 2.10.1 a9768375346e62155860fe3cef3d4d641b24273e
  • This is a bug
  • This is a modification request

Same issue as #1265 and #1084

Code

    devServer: {
      port: 9000,
      contentBase: './dist',
      stats: 'errors-only',
      overlay: true,
      proxy: {
        '/api': {
          target: 'http://localhost:8080',
          pathRewrite: { '^/api': '' },
          ws: true
        }
      }
    }

Expected Behavior

Page is opened in IE11.

Actual Behavior

IE11 complains about invalid backtick. Source inspector shows the backticks in sendMsg function:

    self.postMessage({
      type: `webpack${type}`,
      data
    }, '*');

For Bugs; How can we reproduce the behavior?

Load up any page via webpack-dev-server in IE11.

@shellscape
Copy link
Contributor

@luisbelloch please search before opening new issues. duplicate of #1268.

@luisbelloch
Copy link
Author

That was... 2 hours ago 😅

Sorry, didn't notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants