Skip to content

Commit

Permalink
Changed web bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
nightrunner91 committed Aug 18, 2023
1 parent da32237 commit ae6b5c6
Show file tree
Hide file tree
Showing 4 changed files with 168 additions and 4 deletions.
2 changes: 1 addition & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { StyleSheet, Text, View } from 'react-native';
export default function App() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<Text>Hello React!</Text>
<StatusBar style="auto" />
</View>
);
Expand Down
1 change: 1 addition & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
}
},
"web": {
"bundler": "metro",
"favicon": "./assets/favicon.png"
}
}
Expand Down
163 changes: 162 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "learn",
"name": "learn-rn",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
Expand All @@ -12,7 +12,9 @@
"expo": "~49.0.7",
"expo-status-bar": "~1.6.0",
"react": "18.2.0",
"react-native": "0.72.3"
"react-native": "0.72.3",
"react-native-web": "~0.19.6",
"react-dom": "18.2.0"
},
"devDependencies": {
"@babel/core": "^7.20.0"
Expand Down

0 comments on commit ae6b5c6

Please sign in to comment.