From ce10b30b4094f38b4ff576763f05adeb1fc46267 Mon Sep 17 00:00:00 2001 From: HesamSoleymani <79265397+HesamSoleymani@users.noreply.github.com> Date: Sun, 13 Aug 2023 16:12:23 +0330 Subject: [PATCH] Fix webpack automatic publicPath error on tests (#546) --- packages/ffmpeg/webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/ffmpeg/webpack.config.js b/packages/ffmpeg/webpack.config.js index 76ea03b..7c26141 100644 --- a/packages/ffmpeg/webpack.config.js +++ b/packages/ffmpeg/webpack.config.js @@ -8,6 +8,8 @@ module.exports = { extensions: [".js"], }, output: { + // disable automatic publicPath + publicPath: "", path: path.resolve(__dirname, "dist/umd"), filename: "ffmpeg.js", library: "FFmpegWASM",