You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In reference to this change which causes the output directory to first be removed: #986 (review)
While I understand this may be intended behavior, I thought I'd share my use case that illustrates why my build is dependent on files already residing in the output pkg folder, files which are tracked in git.
As you can see, I keep some essential files tracked by git in the pkg folder, and these modules then reference the output files generated by wasm-pack. Maybe there's a better way for me to go about this? Such as copying the files into pkg as part of the build process, or perhaps I should keep these files outside of the pkg folder, and reference the build output that goes into pkg.
If it is decided to keep this change, please add it to the v0.10.2 changelog.
The text was updated successfully, but these errors were encountered:
We are also seeing this problem introduced with 0.10.2 and in conjunction with webpack. Webpack is watching the files in the pkg folder and seems to go into a panic, and is unable to recover until we restart its watching.
@zzzachzzz Did you manage to overcome this somehow?
In reference to this change which causes the output directory to first be removed: #986 (review)
While I understand this may be intended behavior, I thought I'd share my use case that illustrates why my build is dependent on files already residing in the output
pkg
folder, files which are tracked in git.I have a
.gitignore
that looks like this:As you can see, I keep some essential files tracked by git in the
pkg
folder, and these modules then reference the output files generated by wasm-pack. Maybe there's a better way for me to go about this? Such as copying the files intopkg
as part of the build process, or perhaps I should keep these files outside of thepkg
folder, and reference the build output that goes intopkg
.If it is decided to keep this change, please add it to the v0.10.2 changelog.
The text was updated successfully, but these errors were encountered: