mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
reorg again, absolute (module) imports
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
module.exports = {
|
||||
presets: ['module:metro-react-native-babel-preset'],
|
||||
plugins: [
|
||||
[
|
||||
require.resolve('babel-plugin-module-resolver'),
|
||||
{
|
||||
cwd: 'babelrc',
|
||||
extensions: ['.ts', '.tsx', '.js', '.ios.js', '.android.js'],
|
||||
alias: {
|
||||
'@app': './app',
|
||||
},
|
||||
},
|
||||
],
|
||||
// reanimated has to be listed last in plugins
|
||||
'react-native-reanimated/plugin',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user