> For the complete documentation index, see [llms.txt](https://mhy.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mhy.js.org/tools/configs/npmignore.md).

# npmignore

<https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package>

```bash
# Print config to console
mhy config npmignore

# Write .npmignore
mhy config npmignore -i
```

> Note that `mhy` is also adding generated config files like `webpack.config.js` for example.
