Attempting to rendering in both a personal application as well as the cloned example app is breaking.
index.js:1 ./node_modules/@teovilla/react-native-web-maps/src/utils/region.ts 1:12
Module parse failed: Unexpected token (1:12)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> import type { BBox } from 'geojson';
| import type { Region } from 'react-native-maps';
|
Attempting to rendering in both a personal application as well as the cloned example app is breaking.
Steps to replicate
$ git clone https://github.com/teovillanueva/react-native-web-maps.git
$ cd react-native-web-maps/example
$ yarn add @teovilla/react-native-web-maps
$ expo start --web
Environment
node: v16.17.0 yarn: 1.22.17 expo: 6.0.5 platform: macOS Monterey