mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-12-18 03:35:08 +08:00
rn754
This commit is contained in:
@@ -1,24 +1,11 @@
|
||||
const {mergeConfig, getDefaultConfig} = require('@react-native/metro-config');
|
||||
const {createHarmonyMetroConfig} = require('react-native-harmony/metro.config');
|
||||
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
|
||||
|
||||
/**
|
||||
* @type {import("metro-config").ConfigT}
|
||||
* Metro configuration
|
||||
* https://reactnative.dev/docs/metro
|
||||
*
|
||||
* @type {import('metro-config').MetroConfig}
|
||||
*/
|
||||
const config = {
|
||||
transformer: {
|
||||
getTransformOptions: async () => ({
|
||||
transform: {
|
||||
experimentalImportSupport: false,
|
||||
inlineRequires: true,
|
||||
},
|
||||
}),
|
||||
},
|
||||
};
|
||||
const config = {};
|
||||
|
||||
module.exports = mergeConfig(
|
||||
getDefaultConfig(__dirname),
|
||||
createHarmonyMetroConfig({
|
||||
reactNativeHarmonyPackageName: 'react-native-harmony',
|
||||
}),
|
||||
config,
|
||||
);
|
||||
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|
||||
|
||||
Reference in New Issue
Block a user