I don't recommend building libraries with the Vue CLI, because it doesn't use Rollup for ESM (tree-shaking) and also because it doesn't externalize all dependencies, which means your library is bloated with unnecessary distributions of the dependencies you used. I suggest looking up a CLI, similar to TSDX and using that instead.
I don't recommend building libraries with the Vue CLI, because it doesn't use Rollup for ESM (tree-shaking) and also because it doesn't externalize all dependencies, which means your library is bloated with unnecessary distributions of the dependencies you used. I suggest looking up a CLI, similar to TSDX and using that instead.
github.com/team-innovation/vue-sfc... ? any better alternatives?
That could work. I like to stick to the mainstream tooling though (more future-proof). There's also the new cli tool Vite.