A quill-image-extend-module component in vue-quill-editor has a packaging error

mistakes in packing Times are as follows:

clipboard.png

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 ~

Mar.01,2021

because this js is written in es6, but uglifyjs does not support es6. Webpack needs to be configured. Let babel transfer
https://github.com/hotoo/piny.


how did you solve the problem when you were the owner of the building? I still reported an error

.

image.png
image.png
image.png

Menu