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

fix: add the snippets directory by default #1479

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdrouet
Copy link

@jdrouet jdrouet commented Feb 27, 2025

This should fix #1206

I don't know what is the way to detect if the snippets directory should be included so, by default, I include it considering it's already in the sideEffect section.
Another possibility would be to add to the Cargo.toml metadata a package-json section that allows to add some files and enforce it there.

Tell me if it's ok with you or if you need some updates 😉

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! 😄 ✨✨

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.

snippets directory is not included in files of package.json
1 participant