From 4eb7c1bc003d20dd0adb9b64c3f08833a38e8b90 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 23 Mar 2021 18:29:26 -0600 Subject: [PATCH] Add docs for where the worker comes from --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index a1a248e391..2335ea9a03 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -253,6 +253,8 @@ module.exports = (env, argv) => { }, }, { + // Fix up the name of the opus-recorder worker (react-sdk dependency). + // We more or less just want it to be clear it's for opus and not something else. test: /encoderWorker\.min\.js$/, loader: "file-loader", type: "javascript/auto", // https://github.com/webpack/webpack/issues/6725