JSPM

vue-prune

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q61106F
  • License MIT

:scissors: Find unused Vue components in your code

Package Exports

  • vue-prune

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-prune) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

✂️ vue-prune

Find unused Vue components in your code

License

Usage

npm install -g vue-prune

Currently you will have to run the script directly from the directory you wish to analyse, for example:

cd ~/dev/my-vue-project/src && vue-prune

If you're running this in a standard Vue project, you'll want to be inside the src directory otherwise it'll try and go into your node_modules and explode.