Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: manage published files via
files
option (#5659)
Rather than a denylist (`.npmignore`) we can instead use an allowlist via the `files` option in `package.json`. This makes it much harder to accidentally include files or folders in the build as you have to explicitly list the files that will be included. Fixes #5648.
- Loading branch information