Skip to content

Commit

Permalink
Add firefox support in the wasm-audio-worklet example
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslihotzki committed Feb 2, 2023
1 parent 2353e02 commit 94879f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/wasm-audio-worklet/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ cargo run -p wasm-bindgen-cli -- \
--out-dir . \
--target web \
--split-linked-modules

find snippets -type f -exec grep -q '//!bundle$' {} \; -exec npx rollup -i {} -o {} \;
2 changes: 2 additions & 0 deletions examples/wasm-audio-worklet/src/worklet.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//!bundle

import './polyfill.js';
import * as bindgen from '$wbg_main';

Expand Down

0 comments on commit 94879f7

Please sign in to comment.