copy-webpack-plugin 6.0.3依赖webpack版本
时间: 2023-10-12 10:13:36 浏览: 190
根据copy-webpack-plugin 6.0.3的官方文档,它依赖的webpack版本是4.x或5.x。具体来说,copy-webpack-plugin 6.0.3在package.json文件中声明了如下依赖项:
```
"dependencies": {
"cacache": "^15.0.5",
"find-cache-dir": "^3.3.1",
"globby": "^11.0.1",
"loader-utils": "^2.0.0",
"neo-async": "^2.6.2",
"p-limit": "^3.1.0",
"serialize-javascript": "^6.0.0",
"webpack": "^4.0.0 || ^5.0.0"
}
```
其中,webpack的依赖声明为"^4.0.0 || ^5.0.0",表示支持webpack的4.x版本和5.x版本。因此,你可以在使用copy-webpack-plugin 6.0.3时,安装webpack的4.x或5.x版本。
阅读全文