From 0d36aa913976cd525fb1e3ce07bc8c10596e05e2 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"