npm run dev报错TypeError: Cannot read property 'tap' of undefined如下
问题原因:html-webpack-plugin插件版本安装不兼容
解决方法:安装html-webpack-plugin版本为4.5.0
【npm install -D html-webpack-plugin@4.5.0】
npm run dev报错TypeError: Cannot read property 'tap' of undefined如下
问题原因:html-webpack-plugin插件版本安装不兼容
解决方法:安装html-webpack-plugin版本为4.5.0
【npm install -D html-webpack-plugin@4.5.0】