Closed Snack-X closed 1 year ago
By default, npm publish will pack all files which is not listed on .gitignore, which includes almost a megabyte of music files and documentation file.
npm publish
.gitignore
This PR add files section to the package.json file, which limits files to be published.
files
package.json
By running npm pack, you can check the list of files to be packed and published.
npm pack
By default,
npm publish
will pack all files which is not listed on.gitignore
, which includes almost a megabyte of music files and documentation file.This PR add
files
section to thepackage.json
file, which limits files to be published.By running
npm pack
, you can check the list of files to be packed and published.