The vendor code was not converted after vue-cli3 created the project to be packaged.

the project created by default scaffolding cannot be used in low-level browsers after packaging. It is found that the es6 code of vendor has not been converted

babel.config.js

module.exports = {
  presets: [
    "@vue/app"
  ]
}

as shown in the figure,

has been transformed except vendor.js,.

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

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Menu