-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
make lib tree-shakable #378
Labels
contribution welcome
enhancement
New feature or request
help wanted
Extra attention is needed
refactoring
Comments
Yes, I have encountered the same issue, and this library cannot be tree-shaken.🤔 |
Hey, would like to contribute and refactor it? I think it would be acceptable if a Breaking Change is introduced. The best in my opinion would be to allow to import / load components individually and therefore expose them. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
contribution welcome
enhancement
New feature or request
help wanted
Extra attention is needed
refactoring
Hi, after adding vue3-openlayers as a plugin to a clean Nuxt project, the client bundle shows a large file (vue3-openlayers.es.js) of over 1MB. The same issue occurs when performing selected imports, like
import { Map, Layers, Sources } from "vue3-openlayers
(975 KB).Is it possible to reduce the size of the bundled package? 🤔
To Reproduce
Steps to reproduce the behavior:
Reproduction repo
Run
npx nuxi analyze
Screenshots

The text was updated successfully, but these errors were encountered: