npmignore

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

# 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.

Last updated