Skip to content

Fixes Double Copy of WASM#367

Merged
Step7750 merged 1 commit intomasterfrom
fix/double-copy-wasm
Feb 21, 2026
Merged

Fixes Double Copy of WASM#367
Step7750 merged 1 commit intomasterfrom
fix/double-copy-wasm

Conversation

@Step7750
Copy link
Member

@Step7750 Step7750 commented Feb 21, 2026

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.


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’s tlsn_wasm_bg.wasm twice by handling it via a dedicated webpack asset/resource rule that emits a stable tlsn_wasm_bg.wasm filename (no hashed rename).

Updates the CopyPlugin patterns to copy only the package’s .js files (and snippets/), 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.

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.
@Step7750 Step7750 requested a review from GODrums February 21, 2026 07:34
@Step7750 Step7750 added the bug label Feb 21, 2026
@Step7750 Step7750 merged commit 9bf8b10 into master Feb 21, 2026
3 checks passed
@Step7750 Step7750 deleted the fix/double-copy-wasm branch February 21, 2026 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants