Add webpack config for opus-recorder worker
This commit is contained in:
parent
ba28c6d57a
commit
cd2dda268f
1 changed files with 10 additions and 0 deletions
|
@ -252,6 +252,16 @@ module.exports = (env, argv) => {
|
||||||
outputPath: '.',
|
outputPath: '.',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /encoderWorker\.min\.js$/,
|
||||||
|
loader: "file-loader",
|
||||||
|
type: "javascript/auto", // https://github.com/webpack/webpack/issues/6725
|
||||||
|
options: {
|
||||||
|
// We deliberately override the name so it makes sense in debugging
|
||||||
|
name: 'opus-encoderWorker.min.[hash:7].[ext]',
|
||||||
|
outputPath: '.',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
// cache-bust languages.json file placed in
|
// cache-bust languages.json file placed in
|
||||||
// element-web/webapp/i18n during build by copy-res.js
|
// element-web/webapp/i18n during build by copy-res.js
|
||||||
|
|
Loading…
Reference in a new issue