Add docs for where the worker comes from

This commit is contained in:
Travis Ralston 2021-03-23 18:29:26 -06:00
parent 146ed151dd
commit 4eb7c1bc00

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