Commit 0927c08
committed
fix: bundle @huggingface/transformers instead of external resolution
Removes --external @huggingface/transformers from build, bundling it
into dist/index.js. Moves the dependency to devDependencies since it's
no longer needed at runtime. Eliminates the ENOENT utils/devices.js
error caused by broken package structure in @huggingface/transformers.1 parent ba5c320 commit 0927c08
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments