mistakes in packing Times are as follows:
but it can be used normally in development mode. Refer to the website that you want to configure es2015, in .babelrc, but I have already configured
.{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2",
"es2015"
],
"plugins": ["transform-runtime","transform-vue-jsx"],
"env": {
"test": {
"presets": ["env", "stage-2"],
"plugins": ["istanbul"]
}
}
}
I don"t know what the problem is, please give me some advice! Thank you ~