Vue CLI IE11 error report missing')'

  1. vue CLI build project, which appears fine in other browsers, but an error was reported in IE11,: SCRIPT1006: missing") "app.js (6508Power3)
  2. sign up points to location
    /***/ "./node_modules/_resize-detector@0.1.9@resize-detector/esm/index.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return addListener; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return removeListener; });\nlet raf = null;\nfunction requestAnimationFrame (callback) {\n  if (!raf) {\n    raf = (\n      window.requestAnimationFrame ||\n      window.webkitRequestAnimationFrame ||\n      window.mozRequestAnimationFrame ||\n      function (callback) {\n        return setTimeout(callback, 16)\n      }\n    ).bind(window);\n  }\n  return raf(callback)\n}\n\nle....

es6 syntax problem turns to es5


caused by es6 syntax, whether you wrote js code in the static directory. By default, the webpack configuration of vue-cli will not convert js under static to
of es5. If so, modify
`
{

in build/webpack.base.conf.js .
    test: /\.js$/,
    loader: 'babel-loader',
    include: [resolve('src'),resolve('test'), resolve('node_modules/webpack-dev-server/client')]
  },

`

add resolve ('static') to include, which means to transfer js in static to es5

.

Hello, have you solved this problem? I have also encountered this problem. Can you communicate


does not seem to work


I would like to ask whether your problem has been solved

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e42816-449db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e42816-449db.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?