Fix web build

This commit is contained in:
Paul Frazee 2022-06-15 22:33:16 -05:00
parent 172ed1e2cd
commit de87ec17d1
9 changed files with 88 additions and 56 deletions

View file

@ -33,6 +33,7 @@ Uses:
- Annoyingly this must be re-set via XCode after every pod install
- The android simulator won't be able to access localhost services unless you run `adb reverse tcp:{PORT} tcp:{PORT}`
- For instance, the localhosted dev-wallet will need `adb reverse tcp:3001 tcp:3001`
- For some reason, the typescript compiler chokes on platform-specific files (e.g. `foo.native.ts`) but only when compiling for Web thus far. Therefore we always have one version of the file which doesn't use a platform specifier, and that should bee the Web version. ([More info](https://stackoverflow.com/questions/44001050/platform-specific-import-component-in-react-native-with-typescript).)
## Various notes