🔧 build(升级react18): 升级依赖支持react18
This commit is contained in:
+13
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user