ffmpegwasm / ffmpegwasm/ffmpeg.wasm
import core in esm way
Open
- Dominant language
- C
- Stars
- 17.8k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Expect to import core in esm way, like
```js
import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';
import ffmpegCore from '@ffmpeg/core;
createFFmpeg({ log: true, core: ffmpegCore });
```
Put string into require function is kind of confusing
https://github.com/ffmpegwasm/ffmpeg.wasm/blob/22b816091c577fb5e52c26b8ca7b968961980ba0/src/node/getCreateFFmpegCore.js#L6
Thanks,have a nice day!
Contributor guide
Assessment
This issue has not been assessed yet.