2019-05-22 20:15:35 +00:00
|
|
|
/**
|
|
|
|
* Metro configuration for React Native
|
|
|
|
* https://github.com/facebook/react-native
|
|
|
|
*
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
2019-10-07 20:56:30 +00:00
|
|
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
|
|
const blacklist = require('metro-config/src/defaults/blacklist');
|
|
|
|
|
2019-05-22 20:15:35 +00:00
|
|
|
module.exports = {
|
|
|
|
transformer: {
|
|
|
|
getTransformOptions: () => ({
|
|
|
|
transform: {
|
|
|
|
experimentalImportSupport: true,
|
|
|
|
inlineRequires: true
|
|
|
|
}
|
|
|
|
})
|
2019-08-20 19:24:22 +00:00
|
|
|
},
|
2019-10-07 20:56:30 +00:00
|
|
|
maxWorkers: 2,
|
|
|
|
resolver: {
|
|
|
|
blacklistRE: blacklist([
|
|
|
|
/ios\/Pods\/JitsiMeetSDK\/Frameworks\/JitsiMeet.framework\/assets\/node_modules\/react-native\/.*/
|
|
|
|
])
|
|
|
|
}
|
2019-05-22 20:15:35 +00:00
|
|
|
};
|