Skip to content

Conversation

@andrewhamon
Copy link

@andrewhamon andrewhamon commented Feb 26, 2025

This PR adds a --private flag to the build command, which is used to add a private field to the generated package.json.

This helps ensure that a package isn't accidentally published to npm.

Make sure these boxes are checked! 📦✅

  • You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨

This PR adds a `--private` flag to the build command, which is used to
add a `private` field to the generated package.json.

This helps ensure that a package isn't accidentally published to npm.
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