Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Jul 30, 2023
1 parent b84c865 commit 1fae920
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('path');
const fs = require('fs');
const webpack = require('webpack');
Expand Down Expand Up @@ -83,8 +82,8 @@ module.exports = {
apply: (compiler) => {
compiler.hooks.initialize.tap("PlugNmeet", () => {
// temporary work around for worker files
const from = path.resolve(__dirname, "node_modules/livekit-client/dist/livekit-client.e2ee.worker.js");
const to = path.resolve(__dirname, "src/helpers/livekit/e2ee-worker/livekit-client.e2ee.worker.js");
const from = path.resolve(__dirname, "node_modules", "livekit-client", "dist", "livekit-client.e2ee.worker.js");
const to = path.resolve(__dirname, "src", "helpers", "livekit", "e2ee-worker", "livekit-client.e2ee.worker.js");
fs.copyFileSync(from, to);
});
},
Expand Down

0 comments on commit 1fae920

Please sign in to comment.