build(lightbox): use npm install (npm 11 ci rejects cross-platform rolldawn optional deps)

This commit is contained in:
xfy 2026-06-24 11:18:40 +08:00
parent 022b63aedc
commit 05e2989278

View File

@ -30,7 +30,7 @@ build-editor-incremental:
build-lightbox:
@echo "Building Lightbox..."
@cd libs/lightbox && npm ci --include=dev && npm run build
@cd libs/lightbox && npm install && npm run build
@echo "Lightbox built."
# dev 用的增量构建:跳过 npm ci假设 node_modules 已存在),仅 vite build。