File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ // Learn more https://docs.expo.io/guides/customizing-metro
2+ const { getDefaultConfig } = require ( 'expo/metro-config' ) ;
3+
4+ /** @type {import('expo/metro-config').MetroConfig } */
5+ const config = getDefaultConfig ( __dirname ) ;
6+
7+ module . exports = config ;
Original file line number Diff line number Diff line change 33 "version" : " 1.0.0" ,
44 "main" : " node_modules/expo/AppEntry.js" ,
55 "scripts" : {
6- "build" : " expo prebuild --clean -p android && cd android && chmod +x ./gradlew && ./gradlew bundleRelease --no-daemon && cd .. && react-native build-android " ,
6+ "build" : " react-native bundle --entry-file App.tsx --bundle-output app.bundle " ,
77 "start" : " expo start" ,
88 "android" : " expo run:android" ,
99 "ios" : " expo run:ios" ,
Original file line number Diff line number Diff line change 33 "version" : " 0.0.1" ,
44 "private" : true ,
55 "scripts" : {
6- "build" : " cd android && chmod +x ./gradlew && ./gradlew bundleRelease --no-daemon && cd .. && react-native build-android " ,
6+ "build" : " react-native bundle --entry-file index.js --bundle-output app.bundle " ,
77 "android" : " react-native run-android" ,
88 "ios" : " react-native run-ios" ,
99 "lint" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments