reorg again, absolute (module) imports

This commit is contained in:
austinried
2021-07-08 12:21:44 +09:00
parent a94a011a18
commit ea4421b7af
54 changed files with 186 additions and 251 deletions

View File

@@ -5,12 +5,12 @@ import { enableScreens } from 'react-native-screens'
enableScreens()
import { AppRegistry } from 'react-native'
import App from './App'
import { name as appName } from './app.json'
import App from '@app/App'
import { name as appName } from '@app/app.json'
import TrackPlayer, { Capability } from 'react-native-track-player'
AppRegistry.registerComponent(appName, () => App)
TrackPlayer.registerPlaybackService(() => require('./src/playback/service'))
TrackPlayer.registerPlaybackService(() => require('./app/service'))
async function start() {
await TrackPlayer.setupPlayer()