2021-10-05 15:27:47 +00:00
|
|
|
const { withNxMetro } = require('@nrwl/react-native')
|
2020-12-07 20:59:14 +00:00
|
|
|
|
2021-02-07 16:14:45 +00:00
|
|
|
const MetroConfig = require('@ui-kitten/metro-config')
|
2020-12-07 20:59:14 +00:00
|
|
|
const evaConfig = {
|
|
|
|
evaPackage: '@eva-design/eva',
|
2021-12-01 10:13:50 +00:00
|
|
|
customMappingPath: './apps/skolplattformen-app/design/mapping.json',
|
2021-02-07 16:14:45 +00:00
|
|
|
}
|
2020-12-07 20:59:14 +00:00
|
|
|
|
2021-10-06 05:09:54 +00:00
|
|
|
const evaMetroConfig = MetroConfig.create(evaConfig, {
|
|
|
|
transformer: {
|
|
|
|
getTransformOptions: async () => ({
|
|
|
|
transform: {
|
|
|
|
experimentalImportSupport: false,
|
|
|
|
inlineRequires: true,
|
|
|
|
},
|
|
|
|
}),
|
2020-12-07 20:59:14 +00:00
|
|
|
},
|
2021-10-06 05:09:54 +00:00
|
|
|
})
|
|
|
|
|
|
|
|
module.exports = withNxMetro(evaMetroConfig, {
|
|
|
|
// Change this to true to see debugging info.
|
|
|
|
// Useful if you have issues resolving modules
|
|
|
|
debug: false,
|
|
|
|
// all the file extensions used for imports other than 'ts', 'tsx', 'js', 'jsx'
|
|
|
|
extensions: [],
|
|
|
|
})
|