Giter VIP home page Giter VIP logo

Comments (4)

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

win10,vue2.6,webpack2.6,nodeV14 在安装启动以及热部署的时候都没有问题,但是在npm run build打包之后,会产生一个报错 "el-table-virtual-scroll": "^1.0.20",

ERROR in static/js/0.752c5439a0eef37cc905.js from UglifyJs
Unexpected token: name (hook) [./~/el-table-virtual-scroll/dist/el-table-virtual-scroll.esm.js:1422,0][static/js/0.752c5439a0eef37cc905.js:6900,8]

123

试下排除 el-table-virtual-scroll.esm.js 文件:

module.exports = {
  // ...
  optimization: {
    minimizer: [
      new UglifyJsPlugin({
        exclude: /el-table-virtual-scroll\.esm\.js/
      })
    ]
  }
}

from el-table-virtual-scroll.

blue-cave avatar blue-cave commented on July 22, 2024

我又试了一下,虽然打包的之后报错,但是项目部署之后时可以使用的,不受影响,但IE浏览器好像不能用

from el-table-virtual-scroll.

xiaocheng555 avatar xiaocheng555 commented on July 22, 2024

我又试了一下,虽然打包的之后报错,但是项目部署之后时可以使用的,不受影响,但IE浏览器好像不能用

ie还没有兼容

from el-table-virtual-scroll.

blue-cave avatar blue-cave commented on July 22, 2024

我又试了一下,虽然打包的之后报错,但是项目部署之后时可以使用的,不受影响,但IE浏览器好像不能用

ie还没有兼容

好的,明白了

from el-table-virtual-scroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.