|
@@ -240,26 +240,6 @@ module.exports = [
|
240
|
240
|
performance: getPerformanceHints(128 * 1024)
|
241
|
241
|
}),
|
242
|
242
|
|
243
|
|
- // Because both virtual-background-effect and rnnoise-processor modules are loaded
|
244
|
|
- // in a lazy manner using the loadScript function with a hard coded name,
|
245
|
|
- // i.e.loadScript('libs/rnnoise-processor.min.js'), webpack dev server
|
246
|
|
- // won't know how to properly load them using the default config filename
|
247
|
|
- // and sourceMapFilename parameters which target libs without .min in dev
|
248
|
|
- // mode. Thus we change these modules to have the same filename in both
|
249
|
|
- // prod and dev mode.
|
250
|
|
- Object.assign({}, config, {
|
251
|
|
- entry: {
|
252
|
|
- 'rnnoise-processor': './react/features/stream-effects/rnnoise/index.js'
|
253
|
|
- },
|
254
|
|
- output: Object.assign({}, config.output, {
|
255
|
|
- library: [ 'JitsiMeetJS', 'app', 'effects', 'rnnoise' ],
|
256
|
|
- libraryTarget: 'window',
|
257
|
|
- filename: '[name].min.js',
|
258
|
|
- sourceMapFilename: '[name].min.map'
|
259
|
|
- }),
|
260
|
|
- performance: getPerformanceHints(30 * 1024)
|
261
|
|
- }),
|
262
|
|
-
|
263
|
243
|
Object.assign({}, config, {
|
264
|
244
|
entry: {
|
265
|
245
|
'external_api': './modules/API/external/index.js'
|