fix: ui-kitten metro config
This commit is contained in:
parent
18ed8620af
commit
5fdc3d71ad
|
@ -3,34 +3,24 @@ const { withNxMetro } = require('@nrwl/react-native')
|
|||
const MetroConfig = require('@ui-kitten/metro-config')
|
||||
const evaConfig = {
|
||||
evaPackage: '@eva-design/eva',
|
||||
customMappingPath: './design/mapping.json',
|
||||
customMappingPath: './apps/skolplattformen-sthlm/design/mapping.json',
|
||||
}
|
||||
|
||||
// const evaMetroConfig = MetroConfig.create(evaConfig, {transformer: {
|
||||
// getTransformOptions: async () => ({
|
||||
// transform: {
|
||||
// experimentalImportSupport: false,
|
||||
// inlineRequires: true,
|
||||
// },
|
||||
// }),
|
||||
// },})
|
||||
|
||||
module.exports = withNxMetro(
|
||||
{
|
||||
transformer: {
|
||||
getTransformOptions: async () => ({
|
||||
transform: {
|
||||
experimentalImportSupport: false,
|
||||
inlineRequires: true,
|
||||
},
|
||||
}),
|
||||
},
|
||||
const evaMetroConfig = MetroConfig.create(evaConfig, {
|
||||
transformer: {
|
||||
getTransformOptions: async () => ({
|
||||
transform: {
|
||||
experimentalImportSupport: false,
|
||||
inlineRequires: true,
|
||||
},
|
||||
}),
|
||||
},
|
||||
{
|
||||
// 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: [],
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
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: [],
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue