Conversation
TLSN Wasm is ~16MB, current setup was copying the file twice into the build. This change switches to prevent a hash rename for `tlsn_wasm_bg.wasm` while still copying the `.js` files.
GODrums
approved these changes
Feb 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TLSN Wasm is ~16MB, current setup was copying the file twice into the build.
This change switches to prevent a hash rename for
tlsn_wasm_bg.wasmwhile still copying the.jsfiles.Note
Low Risk
Build-only webpack configuration change scoped to how a single WASM asset is emitted and copied.
Overview
Stops bundling/copying
@csfloat/tlsn-wasm’stlsn_wasm_bg.wasmtwice by handling it via a dedicated webpackasset/resourcerule that emits a stabletlsn_wasm_bg.wasmfilename (no hashed rename).Updates the
CopyPluginpatterns to copy only the package’s.jsfiles (andsnippets/), removing the previous*.{wasm,js}copy step for the WASM binary.Written by Cursor Bugbot for commit 0da52d7. This will update automatically on new commits. Configure here.