vue-library-template icon indicating copy to clipboard operation
vue-library-template copied to clipboard

Exclude peerDependencies when build library

Open ittus opened this issue 7 years ago • 0 comments
trafficstars

  • [x] When build library, peerDependencies should 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-router should be in deepDependencies. It should not be packed when build library.

ittus avatar May 05 '18 03:05 ittus