I’m using vue-cli
--target lib to build a component and include it in another project within a monorepo. Some node_modules exist twice in the final app bundle. These are the emitted reports: https://gist.github.com/johannes-z/662b85f4429919c1e716f3928a11840b
.common.js file is the
--target lib build.
Edit: If I put
"main": "src/main.ts" in the component’s
package.json the vendor bundle seems to be correct, but that can’t be right?