Repository navigation
Commit a711483
committed
수정: landing 이 쓰지 않는 @huggingface/transformers 를 지워 배포 빌드의 외부 GPU 바이너리 다운로드를 없앤다
@huggingface/transformers 는 2026-06-09 커밋에 "미커밋 viewer 의존성" 으로 함께 들어왔지만 저장소 어디서도
import 하지 않는다. 그런데 npm ci 때 onnxruntime-node 설치 스크립트가 nuget.org 에서 CUDA 용 GPU 바이너리를
내려받다 연결 시간 초과로 배포가 실패했다(2026-10-12 Deploy Landing 38268950979, ETIMEDOUT).
의존성을 지우면 onnxruntime-node·onnxruntime-web·sharp·protobufjs 등 63 개 패키지가 lock 에서 빠진다. 대상이
없어진 루트 overrides(sharp, protobufjs, adm-zip)도 지운다. 빠진 패키지를 landing·ui 소스가 직접 import 하는
곳은 없다.
검증: npm install --package-lock-only 후 npm audit 0, npm ci --dry-run 통과, 제거 패키지의 직접 import 0.1 parent e2b8eac commit a711483
3 files changed
Lines changed: 5 additions & 921 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
0 commit comments