Files
jellyfin-audio-player/babel.config.js
2021-01-29 00:47:17 +01:00

37 lines
989 B
JavaScript

module.exports = {
presets: [
'module:metro-react-native-babel-preset',
],
plugins: [
[
'module-resolver',
{
root: ['.'],
extensions: [
'.ios.ts',
'.android.ts',
'.ts',
'.ios.tsx',
'.android.tsx',
'.tsx',
'.jsx',
'.js',
'.json',
],
alias: {
store: './src/store',
components: './src/components',
utility: './src/utility',
screens: './src/screens',
assets: './src/assets',
'@localisation': './src/localisation',
CONSTANTS: './src/CONSTANTS',
}
}
],
[
'module:react-native-dotenv'
]
]
};