teovillanueva / react-native-web-maps

Cross platform maps for react & react-native 🗺
https://teovillanueva.github.io/react-native-web-maps/
MIT License
54 stars 14 forks source link

fix src import #14

Closed tobysmith closed 1 year ago

tobysmith commented 1 year ago

fix for #8 and #12

error - ../../node_modules/@teovilla/react-native-web-maps/src/utils/region.ts
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';
|

Import trace for requested module:
../../node_modules/@teovilla/react-native-web-maps/src/utils/region.ts
../../node_modules/@teovilla/react-native-web-maps/dist/module/components/marker-clusterer/marker-clusterer.js
../../node_modules/@teovilla/react-native-web-maps/dist/module/components/marker-clusterer/index.js
../../node_modules/@teovilla/react-native-web-maps/dist/module/index.web.js
../../packages/app/features/home/screen.tsx
ogheneovo12 commented 1 year ago

when will this be published, any work around till it's been published?

teovillanueva commented 1 year ago

@all-contributors please add @tobysmith for doc and code

allcontributors[bot] commented 1 year ago

@teovillanueva

I've put up a pull request to add @tobysmith! :tada: