Skip to content

Commit

Permalink
Add defaults and fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Johennes committed Nov 11, 2023
1 parent 3e03b2e commit 0584c39
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,11 @@ module.exports = (env, argv) => {
worker: [
// Special syntax for loading audio worklets as documented in
// https://github.com/webpack/webpack.js.org/issues/6869. Note
// that this only works when using literal strings as argument
// in the addModule call.
// that this only works when using a URL as argument to the
// addModule call.
"*context.audioWorklet.addModule()",
"*audioWorklet.addModule()",
"...", // The defaults
],
},
},
Expand Down

0 comments on commit 0584c39

Please sign in to comment.