Open
Description
Importing vuedraggable
in my application increases the bundle size by 215 kB (after minification), which is quite a lot.
-
sortablejs
itself is only 40 kB. -
90 kB is taken by Vue template compiler. I don't know why it ends up being included. I resolved this in my Vite config by adding:
resolve: { alias: { vue: 'vue/dist/vue.runtime.esm-bundler.js', }, },
(see https://vuejs.org/guide/scaling-up/tooling.html#note-on-in-browser-template-compilation)
-
Most of the remaining 85 kB appears to come from polyfills, which are probably unnecessary.
Metadata
Metadata
Assignees
Labels
No labels