webpack和webpackcil对应版本
时间: 2023-10-12 22:06:45 浏览: 222
根据引用中的信息,webpack版本为^3.6.0时,对应的webpack-cli版本应为2.30.1;而当webpack版本为^5.0.0时,对应的webpack-cli版本应为4.5.0。
另外,引用中提到的webpack相关依赖版本如下:
- webpack版本为^4.46.0
- webpack-cli版本为^3.3.12
- webpack-dev-server版本为^3.11.3
需要注意的是,webpack的版本与loader的版本也有关系,特别是当webpack版本为3.6.0或者2.X时,以下的loader版本应该与之对应:
- css-loader版本为^2.0.2
- file-loader版本为^4.0.0
- less版本为^3.9.0
- less-loader版本为^4.1.0
- style-loader版本为^0.23.1
- url-loader版本为^4.1.1
希望这些信息能对您有所帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [webpack版本与htmlWebpackPlugin版本对应](https://blog.csdn.net/qi__lu/article/details/128477592)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [webpack4相关依赖版本](https://blog.csdn.net/ThisEqualThis/article/details/124090739)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文