1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-10-31 13:23:12 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee

feat/rn725 (#451)

* 0.72.5

* fix android build

* fix ios build
This commit is contained in:
Sunny Luo
2024-10-11 23:47:27 +08:00
committed by GitHub
parent a8705ca0e4
commit b85889cf22
31 changed files with 11630 additions and 9111 deletions

View File

@@ -1,24 +1,11 @@
// const path = require('path');
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
// const extraNodeModules = {
// react: path.resolve(__dirname, 'node_modules/react'),
// 'react-native': path.resolve(__dirname, 'node_modules/react-native'),
// 'react-native-update': path.resolve(__dirname, '../..'),
// '@babel/runtime': path.resolve(__dirname, 'node_modules/@babel/runtime'),
// };
// const watchFolders = [path.resolve(__dirname, '../..')];
/**
* Metro configuration
* https://facebook.github.io/metro/docs/configuration
*
* @type {import('metro-config').MetroConfig}
*/
const config = {};
module.exports = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
},
// resolver: {
// extraNodeModules,
// },
// watchFolders,
};
module.exports = mergeConfig(getDefaultConfig(__dirname), config);