ffmpegwasm / ffmpegwasm/ffmpeg.wasm
webpack error when module contains dynamic import: "Automatic publicPath is not supported in this browser" (when running tests)
- 主要言語
- C
- スター
- 17.8k
- フォーク
- 1.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Describe the bug**
Although I can run my project which contains latest @ffmpeg/ffmpeg package (0.12.3) without any problem, my project's tests (those which imports a module that imports FFmpeg) fail with the following error: "Automatic publicPath is not supported in this browser."
As lots of people suggest in [this github issue](https://github.com/cypress-io/cypress/issues/18435), (and [the pr that is for solving this issue](https://github.com/cypress-io/cypress/pull/23760/files) also confirms) it seems adding publicPath:"" to the webpack.config.js can solve the issue...
**To Reproduce**
I think I can make a small project with some tests which imports FFmpeg (or import a module which imports FFmpeg) like the state of my own project which has the problem, if needed...
**Expected behavior**
no "Automatic publicPath is not supported in this browser." error when running tests...
**Screenshots**

コントリビューションガイド
評価
この issue はまだ評価されていません。