react-native-lunar-calendars
Version:
React Native Calendar Components with Lunar Calendar Support - Fork of react-native-calendars with Vietnamese lunar calendar functionality
22 lines (19 loc) • 512 B
JavaScript
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
const path = require('path');
/**
* Metro configuration
* https://facebook.github.io/metro/docs/configuration
*
* @type {import('metro-config').MetroConfig}
*/
const config = {
resolver: {
extraNodeModules: {
'react-native-lunar-calendars': path.resolve(__dirname, '../'),
},
},
watchFolders: [
path.resolve(__dirname, '../'),
],
};
module.exports = mergeConfig(getDefaultConfig(__dirname), config);