Skip to content

Commit

Permalink
updated metro config
Browse files Browse the repository at this point in the history
  • Loading branch information
mansi-square committed May 27, 2024
1 parent d1f3a63 commit 67d76db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
node-version: 18.x
- run: |
yarn && yarn lint && yarn test
cd react-native-in-app-payments-quickstart && yarn && yarn lint && cd ..
cd react-native-in-app-payments-quickstart && yarn && cd ..
build-android:
needs: install-and-test
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export default function HomeScreen() {

return (
<View style={styles.container}>
{/* <Image source={require('../images/iconCookie.png')} /> */}
<Image source={require('../images/iconCookie.png')} />
<Text style={styles.title}>Super Cookie</Text>
<Text style={styles.description}>
Instantly gain special powers when ordering a super cookie
Expand Down
20 changes: 7 additions & 13 deletions react-native-in-app-payments-quickstart/metro.config.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');

/**
* Metro configuration for React Native
* https://github.com/facebook/react-native
* Metro configuration
* https://reactnative.dev/docs/metro
*
* @format
* @type {import('metro-config').MetroConfig}
*/
const config = {};

module.exports = {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
},
};
module.exports = mergeConfig(getDefaultConfig(__dirname), config);

0 comments on commit 67d76db

Please sign in to comment.