vue-library-template
vue-library-template copied to clipboard
Exclude peerDependencies when build library
trafficstars
- [x] When build library,
peerDependenciesshould be excludes (https://nodejs.org/en/blog/npm/peer-dependencies/)
In my project, I put vue as peerDependencies, so it's not included in build library. This will keep library size is small
https://github.com/ittus/vue-monthly-picker
- [x]
vue-routershould be in deepDependencies. It should not be packed when build library.