mapcomponents / react-map-components-maplibre

A react component framework for declarative GIS application development.
MIT License
116 stars 18 forks source link

package.json has invalid "main" entry #92

Closed eins78 closed 1 year ago

eins78 commented 1 year ago

The package as published on npm can not be used in all environments because the main entry is pointing to a non-existing file. If (manually) changed to have the same content as the module entry, it works as expected.

https://github.com/mapcomponents/react-map-components-maplibre/blob/c5dbd45d315af381e8c27cf275fa94574c316c35/package.json#L4

https://github.com/mapcomponents/react-map-components-maplibre/blob/c5dbd45d315af381e8c27cf275fa94574c316c35/package.json#L6

cioddi commented 1 year ago

Thank you for raising the issue. I will look into it and change it with the next release.

Can you give me some information on your app setup so I can reproduce and fix the issue?

cioddi commented 1 year ago

@eins78 we have included the suggested adjustments in the latest release. I hope everything works fine with the setup now without the need of manually changing anything in the installed modules.