24 lines
576 B
JavaScript
24 lines
576 B
JavaScript
const path = require('path');
|
|
|
|
const extraNodeModules = {
|
|
'react-native': path.resolve(__dirname, 'node_modules/react-native'),
|
|
'react-native-update': path.resolve(__dirname, '../..'),
|
|
'@babel/runtime': path.resolve(__dirname, 'node_modules/@babel/runtime'),
|
|
};
|
|
const watchFolders = [path.resolve(__dirname, '../..')];
|
|
|
|
module.exports = {
|
|
transformer: {
|
|
getTransformOptions: async () => ({
|
|
transform: {
|
|
experimentalImportSupport: false,
|
|
inlineRequires: false,
|
|
},
|
|
}),
|
|
},
|
|
resolver: {
|
|
extraNodeModules,
|
|
},
|
|
watchFolders,
|
|
};
|