Add docs for where the worker comes from

pull/16705/head
Travis Ralston 2021-03-23 18:29:26 -06:00
parent 146ed151dd
commit 4eb7c1bc00
1 changed files with 2 additions and 0 deletions

View File

@ -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