feat: update webpack
This commit is contained in:
14
metro.config.js
Normal file
14
metro.config.js
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config')
|
||||||
|
const { getMetroConfig } = require('@tarojs/rn-supporter')
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Metro configuration
|
||||||
|
* https://facebook.github.io/metro/docs/configuration
|
||||||
|
*
|
||||||
|
* @type {import('metro-config').MetroConfig}
|
||||||
|
*/
|
||||||
|
const config = {}
|
||||||
|
|
||||||
|
module.exports = (async function () {
|
||||||
|
return mergeConfig(getDefaultConfig(__dirname), await getMetroConfig(), config)
|
||||||
|
})()
|
||||||
14
package.json
14
package.json
@@ -39,7 +39,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.21.5",
|
"@babel/runtime": "^7.21.5",
|
||||||
"@nutui/nutui-react-taro": "^2.7.3",
|
"@nutui/nutui-react-taro": "^2.7.3",
|
||||||
|
"@react-native/metro-config": "^0.73.2",
|
||||||
"@tarojs/components": "4.0.8",
|
"@tarojs/components": "4.0.8",
|
||||||
|
"@tarojs/components-rn": "^4.0.8",
|
||||||
"@tarojs/helper": "4.0.8",
|
"@tarojs/helper": "4.0.8",
|
||||||
"@tarojs/plugin-framework-react": "4.0.8",
|
"@tarojs/plugin-framework-react": "4.0.8",
|
||||||
"@tarojs/plugin-html": "^4.0.8",
|
"@tarojs/plugin-html": "^4.0.8",
|
||||||
@@ -51,12 +53,18 @@
|
|||||||
"@tarojs/plugin-platform-tt": "4.0.8",
|
"@tarojs/plugin-platform-tt": "4.0.8",
|
||||||
"@tarojs/plugin-platform-weapp": "4.0.8",
|
"@tarojs/plugin-platform-weapp": "4.0.8",
|
||||||
"@tarojs/react": "4.0.8",
|
"@tarojs/react": "4.0.8",
|
||||||
|
"@tarojs/rn-runner": "^4.0.8",
|
||||||
|
"@tarojs/rn-supporter": "^4.0.8",
|
||||||
"@tarojs/runtime": "4.0.8",
|
"@tarojs/runtime": "4.0.8",
|
||||||
|
"@tarojs/runtime-rn": "^4.0.8",
|
||||||
"@tarojs/shared": "4.0.8",
|
"@tarojs/shared": "4.0.8",
|
||||||
"@tarojs/taro": "4.0.8",
|
"@tarojs/taro": "4.0.8",
|
||||||
|
"@tarojs/taro-rn": "^4.0.8",
|
||||||
"babel-plugin-import": "^1.13.8",
|
"babel-plugin-import": "^1.13.8",
|
||||||
"react": "^18.0.0",
|
"expo": "~50.0.2",
|
||||||
"react-dom": "^18.0.0",
|
"react": "^18.3.1",
|
||||||
|
"react-dom": "^18.3.1",
|
||||||
|
"react-native": "^0.73.1",
|
||||||
"react-redux": "^7.2.0",
|
"react-redux": "^7.2.0",
|
||||||
"redux": "^4.0.0",
|
"redux": "^4.0.0",
|
||||||
"redux-logger": "^3.0.6",
|
"redux-logger": "^3.0.6",
|
||||||
@@ -88,6 +96,6 @@
|
|||||||
"thread-loader": "^4.0.4",
|
"thread-loader": "^4.0.4",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
"weapp-tailwindcss": "^3.7.0",
|
"weapp-tailwindcss": "^3.7.0",
|
||||||
"webpack": "5.91.0"
|
"webpack": "5.94.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
19473
pnpm-lock.yaml
generated
19473
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user