We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have a common pattern of ignoring everything and unignoring only the files I want to be published in .npmignore:
.npmignore
* !/lib/**/*
This pattern fails to include lib folder. It seems that * has issues.
lib
*
Tested a few more cases, and this works:
/lib !/lib
and this doesn't
/lib !/lib/**/*
For now I'm using "files": ["lib"], in package.json
"files": ["lib"],
package.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I have a common pattern of ignoring everything and unignoring only the files I want to be published in
.npmignore
:This pattern fails to include
lib
folder. It seems that*
has issues.Tested a few more cases, and this works:
and this doesn't
For now I'm using
"files": ["lib"],
inpackage.json
The text was updated successfully, but these errors were encountered: