-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(package): use files
in package.json
instead of .npmignore
#629
Comments
@GervinFung Thanks for this suggestion. Are there any files that shouldn't be in the package? |
Hey, as of now I think it published what it should, except for For instance, if you whitelist with |
Right, |
If you are ok with it, I can create a PR that solve this issue by whitelisting what should be published instead |
Motivation
It’s better to explicitly mention what should be packaged instead of listing everything that should not be included, as it requires more effort and it's possible to forget to add a new file/folder to
.npmignore
Expected behavior
It will publish the files/folders that were whitelisted in
package.json
The text was updated successfully, but these errors were encountered: