2023-10-10 09:05:00 +00:00
|
|
|
module.exports = {
|
|
|
|
presets: ['module:metro-react-native-babel-preset'],
|
2023-10-24 13:41:58 +00:00
|
|
|
plugins: [
|
|
|
|
[
|
|
|
|
'module-resolver',
|
|
|
|
{
|
|
|
|
root: ['./src/apps/skolplattformen-app-new/'],
|
|
|
|
extensions: ['.ios.js', '.android.js', '.js', '.ts', '.tsx', '.json'],
|
|
|
|
alias: {
|
|
|
|
'@skolplattformen/api': ['libs/api/lib/index.ts'],
|
|
|
|
'@skolplattformen/api-hjarntorget': [
|
|
|
|
'libs/api-hjarntorget/lib/index.ts',
|
|
|
|
],
|
|
|
|
'@skolplattformen/api-skolplattformen': [
|
|
|
|
'libs/api-skolplattformen/lib/index.ts',
|
|
|
|
],
|
|
|
|
'@skolplattformen/curriculum': ['libs/curriculum/src/index.ts'],
|
|
|
|
'@skolplattformen/hooks': ['libs/hooks/src/index.ts'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
],
|
2023-10-17 14:28:44 +00:00
|
|
|
}
|