mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-03 17:40:22 -06:00
Fix issue where player elements would be falling off of the screen Move source files into `src` folder for project organization
19 lines
624 B
JavaScript
19 lines
624 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
// Learn more https://docs.expo.io/guides/customizing-metro
|
|
const { wrapWithReanimatedMetroConfig } = require('react-native-reanimated/metro-config')
|
|
|
|
const { getDefaultConfig } = require('@react-native/metro-config')
|
|
|
|
const config = getDefaultConfig(__dirname, {
|
|
// [Web-only]: Enables CSS support in Metro.
|
|
isCSSEnabled: true,
|
|
})
|
|
|
|
// Expo 49 issue: default metro config needs to include "mjs"
|
|
// https://github.com/expo/expo/issues/23180
|
|
config.resolver.sourceExts.push('mjs')
|
|
|
|
config.watchFolders = ['src']
|
|
|
|
module.exports = wrapWithReanimatedMetroConfig(config)
|