17 lines
378 B
JavaScript
17 lines
378 B
JavaScript
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
|
|
|
const defaultConfig = getDefaultConfig(__dirname);
|
|
|
|
const config = {
|
|
transformer: {
|
|
getTransformOptions: async () => ({
|
|
transform: {
|
|
experimentalImportSupport: false,
|
|
inlineRequires: true,
|
|
},
|
|
}),
|
|
},
|
|
};
|
|
|
|
module.exports = mergeConfig(defaultConfig, config);
|