mhy
  • Introduction
  • Basics
    • Installation
    • Usage
    • UI
    • Ecosystem
    • How does it work?
  • Tools
    • Built-ins
      • boot
      • config
      • dep
      • options
      • ui
    • Processes
      • eslint
      • jest
      • node
      • nodemon
      • prettier
      • standard-version
      • storybook-start
      • storybook-build
      • tsc
      • webpack
      • webpack-bundle-analyzer
      • webpack-dev-server
    • Configs
      • eslint
      • gitignore
      • jest
      • manifest
      • mhy
      • npmignore
      • prettier
      • storybook
      • typescript
      • webpack
  • IDE setup
    • WebStorm & PHPStorm
    • VSCode
  • Recipes and Examples
    • package.json overrides
    • Add your own
  • Others
    • FAQ
    • Help
    • Development of mhy
    • Suggest a library
Powered by GitBook
On this page

Was this helpful?

  1. Tools
  2. Configs

npmignore

PreviousmhyNextprettier

Last updated 3 years ago

Was this helpful?

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

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