You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.idea folder is included in your npm package. Ideally the package should be as light as possible, and in this case only include the necessary files like index.js, readme, license, and package.json.
Fix is to add a fields key to package.json with the files you want to include in the package. license, readme, and package.json are included by default.
"files": ["index.js"]
The text was updated successfully, but these errors were encountered:
I think the files field is a better option than .npmignore in this case. Otherwise you'll have to include everything you included in the .gitignore file in the .npmignore file as well.
.idea
folder is included in your npm package. Ideally the package should be as light as possible, and in this case only include the necessary files like index.js, readme, license, and package.json.Fix is to add a fields key to package.json with the files you want to include in the package. license, readme, and package.json are included by default.
The text was updated successfully, but these errors were encountered: