webpack 3 升级到 webpack 4,遇到问题解决 报错:Error: Chunk.entrypoints: Use Chunks.groupsIterable and filter by instanceof Entrypoint instead 解决:将extract-text-webpack-plugin插件更换为mini-css-extract-plugin