Skip to content

v4.0.0-beta.0 IE11 log.js error #2918

@davidspiess

Description

@davidspiess
  • Operating System: Windows 10

  • Node Version: 14.15.1

  • NPM Version: 6.14.5

  • webpack Version: 4.44.2

  • webpack-dev-server Version: v4.0.0-beta.0

  • Browser: IE11

  • This is a bug

  • This is a modification request

Code

// webpack.config.js
{
  mode: "development",
  devServer: {
    static: path.resolve(__dirname, "public"),
    hot: "only",
    transportMode: "sockjs",
  },
  stats: "minimal",
}

Expected Behavior

It works in IE11. I enabled sock.js transportMode.

Actual Behavior

It throws an error in IE11 in the following file:

'Symbol' is undefined

https://github.com/webpack/webpack-dev-server/blob/master/client-src/transpiled-modules/log.js

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