Initial import: Music_Server, MusicFree, catalog-sync
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const {getDefaultConfig} = require('expo/metro-config');
|
||||
const {mergeConfig} = require('@react-native/metro-config');
|
||||
|
||||
/**
|
||||
* Reference: https://github.com/software-mansion/react-native-svg/blob/main/USAGE.md
|
||||
*/
|
||||
const defaultConfig = getDefaultConfig(__dirname);
|
||||
const {assetExts, sourceExts} = defaultConfig.resolver;
|
||||
/**
|
||||
* Metro configuration
|
||||
* https://reactnative.dev/docs/metro
|
||||
*
|
||||
* @type {import('metro-config').MetroConfig}
|
||||
*/
|
||||
const config = {
|
||||
transformer: {
|
||||
babelTransformerPath: require.resolve('react-native-svg-transformer'),
|
||||
},
|
||||
resolver: {
|
||||
assetExts: assetExts.filter(ext => ext !== 'svg'),
|
||||
sourceExts: [...sourceExts, 'svg'],
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|
||||
Reference in New Issue
Block a user