From 273ca12bc7c6f3eb398f43c0e789dc9cb67d7e77 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Sun, 4 Jan 2026 14:13:03 +0800 Subject: [PATCH] fix: update build command in wrangler.toml for worker build process --- wrangler.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrangler.toml b/wrangler.toml index bf870fb0e..d7abee959 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -6,6 +6,9 @@ compatibility_flags = ["nodejs_compat"] # Serve static assets from lib/assets assets = { directory = "lib/assets" } +[build] +command = "pnpm run worker-build" + # Find additional modules in dist-worker [[rules]] type = "ESModule"