webpack4.x 报错:Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoin

Posted vickylinj

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了webpack4.x 报错:Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoin相关的知识,希望对你有一定的参考价值。

解决方案如下:

npm install extract-text-webpack-plugin@next

安装后的版本是(package.json):

 "devDependencies": {
    "css-loader": "^0.28.11",
    "extract-text-webpack-plugin": "^4.0.0-beta.0",
    "file-loader": "^1.1.11",
    "style-loader": "^0.21.0",
    "url-loader": "^1.0.1"
}

 转自:https://www.cnblogs.com/telder/p/9039544.html

以上是关于webpack4.x 报错:Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoin的主要内容,如果未能解决你的问题,请参考以下文章

记录一次莫名其妙的webpack4.X无法压缩css

webpack4.x 使用

webpack4.x开发环境配置

webpack4.x配置详解,多页面,多入口,多出口,新特性新坑!!

手写 webpack4.x初始化工程

Webpack4.x 入门