vue3-openlayers icon indicating copy to clipboard operation
vue3-openlayers copied to clipboard

Client bundle size (Nuxt)

Open nonlinearcom opened this issue 5 months ago • 2 comments

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? 🤔

├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] invalid: "latest" from the root project
└── [email protected]

To Reproduce Steps to reproduce the behavior:

Reproduction repo

Run npx nuxi analyze

Screenshots Screenshot 2024-08-29 at 16 22 46

nonlinearcom avatar Aug 29 '24 14:08 nonlinearcom