snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
29
metro.config.js
Normal file
29
metro.config.js
Normal file
@@ -0,0 +1,29 @@
|
||||
/* eslint-disable */
|
||||
|
||||
const { getDefaultConfig, mergeConfig } = require('@react-native/metro-config');
|
||||
|
||||
/**
|
||||
* Metro configuration
|
||||
* https://reactnative.dev/docs/metro
|
||||
*
|
||||
* @type {import('metro-config').MetroConfig}
|
||||
*/
|
||||
|
||||
const {
|
||||
resolver: {
|
||||
sourceExts,
|
||||
assetExts
|
||||
}
|
||||
} = getDefaultConfig();
|
||||
|
||||
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