IE 11 Syntax error

IE1 development environment reported an error. For more information, please see title

.

the environmental background of the problems and what methods you have tried

has checked a lot of information, and has

  1. reduce webpack-dev-server to 2.6.1 and 2.7.1, regardless of
  2. add webpack-dev-pack to the babel-loader directory
      {
        test: /\.js$/,
        loader: "babel-loader",
        include: [
          resolve("src"),
          resolve("test"),
          resolve("node_modules/webpack-dev-server/"),
          resolve("node_modules/iview")
        ]
      }
  1. adjusted .babelrc
{
  "presets": [
    [
      "env",
      {
        "modules": false,
        "targets": {
          "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
        }
      }
    ],
    "stage-2"
  ],
  "plugins": [
    "transform-vue-jsx",
    "transform-runtime",
    [
      "import",
      {
        "libraryName": "iview",
        "libraryDirectory": "src/components"
      }
    ]
  ]
}

I"ve googled almost all the similar questions, but I don"t try them out here. Earlier, I had an application-only project that reported invalid characters in ie, which was dealt with after using babel-polyfile. But at present, this project needs to encapsulate iview twice. Syntax errors have been reported in the previous way

.
Menu