diff --git a/webpack.config.js b/webpack.config.js index 3772638..9cbcf1a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -95,6 +95,13 @@ module.exports = (env) => { replacement: resolve('./src/environment.dev.ts'), }, }, + { + test: /tlsn_wasm_bg\.wasm$/, + type: 'asset/resource', + generator: { + filename: 'tlsn_wasm_bg.wasm', + }, + }, ], }, plugins: [ @@ -111,7 +118,7 @@ module.exports = (env) => { {from: 'README.md', to: '', context: '.'}, {from: 'src/popup/popup.html', to: 'src/', context: '.'}, {from: 'src/offscreen/offscreen.html', to: 'src/', context: '.'}, - {from: 'node_modules/@csfloat/tlsn-wasm/*.{wasm,js}', to: '[name][ext]'}, + {from: 'node_modules/@csfloat/tlsn-wasm/*.js', to: '[name][ext]'}, {from: 'node_modules/@csfloat/tlsn-wasm/snippets', to: 'snippets/', context: '.'}, { from: 'manifest.json',