How do you keep files out of your package when you publish a package using npm?

Experience Level: Senior
Tags: npm

Answer

Use .npmignore file or .gitignore file.

Comments

No Comments Yet.
Be the first to tell us what you think.
npm for advanced users
npm for advanced users

Are you learning npm ? Try our test we designed to help you progress faster.

Test yourself