Skip to content

Commit

Permalink
fixed public path url bug from pqc-kem-kyber512-browser dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
larryrider committed May 22, 2024
1 parent b0d7ad4 commit 7021a97
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions webpack-shared-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ module.exports = (minimize, analyzeBundle) => {
search: '{#COMMIT_HASH#}'
},
test: path.join(__dirname, 'JitsiMeetJS.ts')
},{
// Fix pqc-kem-kyber512-browser dependency webpack using https://github.com/Dashlane/pqc.js/blob/main/bundle/webpack.config.kem.babel.js

loader: 'string-replace-loader',
options: {
search: 'import.meta.url',
replace: '\'/libs/\'',
flags: 'g'
},
test: /pqc-kem-kyber512-browser/
}, {
// Transpile ES2015 (aka ES6) to ES5.

Expand Down

0 comments on commit 7021a97

Please sign in to comment.