html-webpack-plugin报错Cannot read property ‘tap‘ of undefined
1、报错:使用html-webpack-plugin时报错Cannot read property ‘tap’ of undefined2、解决方案:确保html-webpack-plugin的版本与webpack的版本一致(大版本一致即可),例如webpack用的是4,那么html-webpack-plugin版本也要是4或者低于4,否则就会出错。...
·
1、报错:
使用html-webpack-plugin时报错Cannot read property ‘tap’ of undefined
2、解决方案:
确保html-webpack-plugin的版本与webpack的版本一致(大版本一致即可)。
更多推荐
已为社区贡献1条内容
所有评论(0)