Skip to content

Commit

Permalink
Make patch work with release
Browse files Browse the repository at this point in the history
  • Loading branch information
prasmussen committed Oct 29, 2023
1 parent 2021efe commit 5bdf5fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rust_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ impl RustBuilder {

let new_content = content
.replace("const { TextDecoder, TextEncoder } = require(`util`);", "")
.replace("const { TextEncoder, TextDecoder } = require(`util`);", "")
.replace("const bytes = require('fs').readFileSync(path);", "")
.replace("const wasmModule = new WebAssembly.Module(bytes);", "")
.replace(
Expand Down

0 comments on commit 5bdf5fc

Please sign in to comment.