1. 程式人生 > >Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead

Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead

style none round 解決辦法 all class lte iterable extract

如題報錯是因為webpack用了4以上版本 ,而extract-text-webpack-plugin過低造成的。解決辦法升級extract-text-webpack-plugin或降級webpack。

升級extract-text-webpack-plugin:

npm install extract-text-webpack-plugin@next --save-dev

Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead