Files
react-native-notifications/metro.config.js
2019-08-13 14:53:36 +03:00

19 lines
405 B
JavaScript

module.exports = {
projectRoot: `${__dirname}/example`,
watchFolders: [
__dirname,
],
resolver: {
sourceExts: ['ts', 'tsx', 'js']
},
transformer: {
babelTransformerPath: require.resolve('react-native-typescript-transformer'),
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: false,
},
})
}
};