-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetro.config.js
More file actions
32 lines (29 loc) · 773 Bytes
/
metro.config.js
File metadata and controls
32 lines (29 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
const {withMonicon} = require('@monicon/metro');
/**
* Metro configuration
* https://reactnative.dev/docs/metro
*
* @type {import('@react-native/metro-config').MetroConfig}
*/
const config = {};
const configWithMonicon = withMonicon(getDefaultConfig(__dirname), {
icons: [
'mdi:home',
'lucide:bar-chart-3',
'ion:settings-sharp',
'humbleicons:chevron-left',
'humbleicons:chevron-right',
'ic:baseline-sync',
'teenyicons:tick-circle-outline',
'tabler:info-circle',
'lucide:goal',
],
// Load all icons from the listed collections
collections: [],
});
module.exports = mergeConfig(
getDefaultConfig(__dirname),
configWithMonicon,
config,
);