Package Exports
- pruner
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 (pruner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pruner
Installation
npm i --save-dev prunerAPI
Class: Walker
import { Walker } from 'pruner';
// modulePath is the root folder of your module
const walker = new Walker(modulePath);walker.prune()
Prunes all dependencies that aren't required for production or optional dependencies.