mapcomponents / react-map-components-maplibre

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

Bug: cypress should be a devDependency #161

Closed dBitech closed 7 months ago

dBitech commented 7 months ago

Cypress is not supported on all platforms, but is only required for development purposes. Cypress & its associated modules should not be required in production code.

@mapcomponents/react-maplibre version: 1.0.1

cioddi commented 7 months ago

You are correct, it is fixed in 1.0.2

While the cypress module should not end up in production code if not explicitly imported by the app (if tree shaking works) it also is not required in the dev environments of apps depending on this package.