🔧 build(升级react18): 升级依赖支持react18

This commit is contained in:
xuan
2022-08-26 14:35:19 +08:00
parent 0d97c056cc
commit 2a28ba0416
4 changed files with 27089 additions and 22639 deletions
+13 -1
View File
@@ -19,7 +19,7 @@ const CURRENT_VERSION = `Version: ${JSON.stringify(process.env.CODE_BRANCH || ve
)
const config = {
projectName: 'EShop',
projectName: 'SpiderSteward',
date: '2022-4-6',
designWidth: 750,
deviceRatio: {
@@ -77,6 +77,18 @@ const config = {
},
},
},
compiler: {
type: 'webpack5',
// 依赖预编译配置
prebundle: {
enable: true,
},
},
// 持久化缓存配置
cache: {
enable: true,
},
plugins: [['@tarojs/plugin-framework-react', { reactMode: 'concurrent' }]],
}
module.exports = function (merge) {