You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

webpack.config.js 646B

12345678910111213141516171819202122232425262728
  1. const process = require('process');
  2. const config = require('./webpack-shared-config');
  3. module.exports = [
  4. Object.assign({}, config, {
  5. entry: {
  6. 'lib-jitsi-meet': './index.js'
  7. },
  8. output: Object.assign({}, config.output, {
  9. library: 'JitsiMeetJS',
  10. libraryTarget: 'umd'
  11. })
  12. }),
  13. {
  14. entry: {
  15. worker: './modules/e2ee/Worker.js'
  16. },
  17. mode: 'production',
  18. output: {
  19. filename: 'lib-jitsi-meet.e2ee-worker.js',
  20. path: process.cwd()
  21. },
  22. optimization: {
  23. minimize: false
  24. }
  25. }
  26. ];