webpack打包错误:webpack-cli configuration.output has an unknown property
最新推荐文章于 2023-02-22 21:16:48 发布
在使用Webpack时遇到`webpack-cli configuration.output has an unknown property 'Plugin'`的错误。错误源于`webpack.config.js`中`html-webpack-plugin`配置的`Plugin`属性写法错误,应改为`plugins`。修正后,Webpack打包成功。
摘要由CSDN通过智能技术生成