brunolemos / react-native-web-monorepo

Code sharing between iOS, Android & Web using monorepo
https://dev.to/brunolemos/tutorial-100-code-sharing-between-ios-android--web-using-react-native-web-andmonorepo-4pej
865 stars 175 forks source link

How to add react-native-maps and react-native-web-maps #81

Closed ktprograms closed 3 years ago

ktprograms commented 3 years ago

I saw in the GitHub for react-native-web-maps that I need to alias react-native-maps to react-native-web-maps, but I'm not sure how for this template. Thanks!

sendyputra commented 3 years ago
  //react-native-web-maps
  config.resolve.alias = {
    ...(config.resolve.alias || {}),
    "react-native-maps$": "react-native-web-maps",
  };

put at config-overrides.js

ktprograms commented 3 years ago

Thanks!