webpack (node:18842) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks
instead /Users/wuqiaohong/Documents/webpackDemo/node_modules/webpack/lib/Chunk.js:849 throw new Error( ^ Error: Chunk.entrypoin
报错原因:extract-text-webpack-plugin目前版本不支持webpack4
解决方式:使用extract-text-webpack-plugin的最新的beta版
命令行输入:npm install extract-text-webpack-plugin@next
重新打包即可