Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geojson-rbush is including @types/geojson in builds #16

Open
mcdenhoed opened this issue Oct 29, 2021 · 0 comments
Open

geojson-rbush is including @types/geojson in builds #16

mcdenhoed opened this issue Oct 29, 2021 · 0 comments

Comments

@mcdenhoed
Copy link

It looks like @types/geojson is marked as a dependency rather than a devDependency, and so the typescript types are ending up in the final bundle. It should be possible to change this dependency to a devDependency to reduce the final bundle size.

"dependencies": {
"@turf/bbox": "*",
"@turf/helpers": "6.x",
"@turf/meta": "6.x",
"@types/geojson": "7946.0.8",
"rbush": "^3.0.1"
}

@mcdenhoed mcdenhoed changed the title Package is bundling types package geojson-rbush is including @types/geojson in builds Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant