Skip to content
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

Add files field to ignore unnecessary files in the package #10

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

taketo1113
Copy link
Owner

Summary

Ignore unnecessary files in the package

Details

Since the files field is not specified in the package.json, the default value of ["*"] was used, which included unnecessary files.
This pull request modifies the configuration to specify only the required src folder in the files field.

For more details:
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#files

@taketo1113 taketo1113 self-assigned this Dec 4, 2024
@taketo1113 taketo1113 merged commit 1037b19 into master Dec 4, 2024
3 checks passed
@taketo1113 taketo1113 deleted the npm-files branch December 4, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant