Add defaults and fix comment
This commit is contained in:
parent
3e03b2ea29
commit
0584c39a70
1 changed files with 3 additions and 2 deletions
|
@ -276,10 +276,11 @@ module.exports = (env, argv) => {
|
||||||
worker: [
|
worker: [
|
||||||
// Special syntax for loading audio worklets as documented in
|
// Special syntax for loading audio worklets as documented in
|
||||||
// https://github.com/webpack/webpack.js.org/issues/6869. Note
|
// https://github.com/webpack/webpack.js.org/issues/6869. Note
|
||||||
// that this only works when using literal strings as argument
|
// that this only works when using a URL as argument to the
|
||||||
// in the addModule call.
|
// addModule call.
|
||||||
"*context.audioWorklet.addModule()",
|
"*context.audioWorklet.addModule()",
|
||||||
"*audioWorklet.addModule()",
|
"*audioWorklet.addModule()",
|
||||||
|
"...", // The defaults
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue