Skip to content

Commit b449736

Browse files
committed
Add firefox support in the wasm-audio-worklet example
1 parent 40e658d commit b449736

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

examples/wasm-audio-worklet/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ cargo run -p wasm-bindgen-cli -- \
2020
--out-dir . \
2121
--target web \
2222
--split-linked-modules
23+
24+
find snippets -type f -exec grep -q '//!bundle$' {} \; -exec npx rollup -i {} -o {} \;

examples/wasm-audio-worklet/src/worklet.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//!bundle
2+
13
import './polyfill.js';
24
import * as bindgen from '$wbg_main';
35

0 commit comments

Comments
 (0)