clean-modules
clean-modules copied to clipboard
🧹 Clean up/prune unnecessary files and reduce the size of your node_modules directory.
First of all, this is an amazing tool! It broke my Sveltekit application due to some commands for the dev server being dependent on `*.md` files, but it did what...
For testing: ```shell $ mkdir /tmp/test && cd "$_" $ npm init --yes $ npm i pino fast-copy minimisted cache-directory clone events $ find node_modules -type f -name '*.iml' $...
`/doc` is actually not *always* safe. `yaml` package actually have a `dist/doc/` containing valids `js`/`ts` files. It should probably be default ignored if its inside `/dist` or not containing `.md`...