webpack4升级extract-text-webpack-plugin和UglifyJsPlugin问题 1. 使用了extract-text-webpack-plugin插件后,编译出错,代码如下: new ExtractTextPlugin('[name].css') 报错信息如下: Tapable.plugin is deprecated. Use new API on `.hooks` instead 报错 webpack is watching the files… (node:…
报错:Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead 解决:将extract-text-webpack-plugin插件更换为mini-css-extract-plugin…