From 0584c39a70c0923767d928444246d8148842734c Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Sat, 11 Nov 2023 21:36:41 +0100 Subject: [PATCH] Add defaults and fix comment --- webpack.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index cc99a29c2f..6108734568 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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 ], }, },