From 3622c5868039d50c05869e5418727a8c3ec71395 Mon Sep 17 00:00:00 2001 From: Zheng Li Date: Tue, 3 Mar 2026 19:27:34 +0800 Subject: [PATCH] fix: add build command to wrangler.toml for CI/CD compatibility --- wrangler.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrangler.toml b/wrangler.toml index 9934546..080989c 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -3,6 +3,9 @@ main = "src/index.ts" compatibility_date = "2024-01-01" assets = { directory = "./dist", not_found_handling = "single-page-application", run_worker_first = ["/api/*", "/identity/*", "/icons/*", "/setup/*", "/config", "/notifications/*", "/.well-known/*"] } +[build] +command = "npm run build" + # D1 Database for storing vault data [[d1_databases]] binding = "DB"