From 05e298927805614baf24809324da6aa688646f16 Mon Sep 17 00:00:00 2001 From: xfy Date: Wed, 24 Jun 2026 11:18:40 +0800 Subject: [PATCH] build(lightbox): use npm install (npm 11 ci rejects cross-platform rolldawn optional deps) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b95e1d9..7eab57f 100644 --- a/Makefile +++ b/Makefile @@ -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。