2019-05-22 20:15:35 +00:00
|
|
|
/**
|
|
|
|
* Metro configuration for React Native
|
|
|
|
* https://github.com/facebook/react-native
|
|
|
|
*
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
2019-09-27 19:16:03 +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-07 13:51:34 +00:00
|
|
|
},
|
2019-09-27 19:16:03 +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
|
|
|
};
|