Commit e754c20
committed
fix(audio-processing): externalize FFmpeg to fix Docker build
Marks @ffmpeg/ffmpeg and @ffmpeg/util as external in tsup build
to prevent bundling browser-only code during Node.js builds.
This resolves "ffmpeg.wasm does not support nodejs" error during
Docker image builds.
Changes:
- Add --external flags to tsup build commands
- Reorder package.json exports (types first)1 parent b3e96a7 commit e754c20
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| |||
0 commit comments