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 3
3
"version" : " 1.0.0" ,
4
4
"main" : " node_modules/expo/AppEntry.js" ,
5
5
"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 " ,
7
7
"start" : " expo start" ,
8
8
"android" : " expo run:android" ,
9
9
"ios" : " expo run:ios" ,
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"private" : true ,
5
5
"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 " ,
7
7
"android" : " react-native run-android" ,
8
8
"ios" : " react-native run-ios" ,
9
9
"lint" : " eslint ." ,
You can’t perform that action at this time.
0 commit comments