Skip to content

2.10.0 not working in Internet Explorer due to template strings #1265

@Q-Man

Description

@Q-Man

Webpack Dev Server 2.10.0 uses template strings (`abc${x}`), this syntax not supported by Internet Explorer. So Webpack Dev Server not working in IE any more ("Invalid character" errors).

For example (but not only) in this function (type: `webpack${type}`):

// Send messages to the outside, so plugins can consume it.
function sendMsg(type, data) {
  if (
    typeof self !== 'undefined' &&
  (typeof WorkerGlobalScope === 'undefined' ||
  !(self instanceof WorkerGlobalScope))
  ) {
    self.postMessage({
      type: `webpack${type}`,
      data
    }, '*');
  }
}

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