修复 Taro 在 Node 24 下的开发/构建兼容性
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
"private": true,
|
||||
"description": "伴伴微信小程序",
|
||||
"scripts": {
|
||||
"build:weapp": "taro build --type weapp",
|
||||
"dev:weapp": "taro build --type weapp --watch"
|
||||
"build:weapp": "cross-env NODE_OPTIONS=--openssl-legacy-provider taro build --type weapp",
|
||||
"dev:weapp": "cross-env NODE_OPTIONS=--openssl-legacy-provider taro build --type weapp --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tarojs/components": "^3.6.38",
|
||||
@@ -13,8 +13,8 @@
|
||||
"@tarojs/react": "^3.6.38",
|
||||
"@tarojs/runtime": "^3.6.38",
|
||||
"@tarojs/taro": "^3.6.38",
|
||||
"react": "^19.2.4",
|
||||
"react-dom": "^19.2.4",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"webpack": "^4.47.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -25,6 +25,7 @@
|
||||
"@types/react": "^18.0.0",
|
||||
"@types/webpack-env": "^1.13.9",
|
||||
"babel-preset-taro": "^3.6.38",
|
||||
"cross-env": "^10.1.0",
|
||||
"typescript": "^4.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user