el-select-tree icon indicating copy to clipboard operation
el-select-tree copied to clipboard

发布的源码中包含babel引用,导致启动报错

Open kooriookami opened this issue 7 months ago • 0 comments

我是用的项目是Vue Cli 5版本,安装el-select-tree后启动会报一下错误。原因是源码中有babel的引用,项目又对node_modules进行了编译。 image

目前我需要手动让babel忽略整个node_modules包,这样才能正常进入项目。

module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  ignore: [
    /node_modules/
  ]
}

kooriookami avatar Nov 20 '23 03:11 kooriookami