创建taro项目编译工具用webpack5还是webpack4
时间: 2023-10-20 20:34:03 浏览: 167
基于webpack5 + gulp4搭建的多页面应用项目模板.zip
根据提供的引用内容,创建Taro项目编译工具可以使用webpack5或webpack4。如果你想使用webpack5,你可以使用以下命令克隆并安装依赖:
```
git clone https://gitee.com/huqinggui/webpack5_base.git -b up-webpack5
cd webpack5_base
npm install
```
如果你想使用webpack4,你可以使用以下命令克隆并安装依赖:
```
git clone https://gitee.com/huqinggui/webpack5_base.git -b webpack4
cd webpack5_base
npm install
```
请根据你的需求选择适合的webpack版本进行创建Taro项目编译工具。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [【章节4】原项目升级到webpack5并进行配置优化全流程](https://blog.csdn.net/qq_32442973/article/details/131013922)[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: 100%"]
[ .reference_list ]
阅读全文