From f9016931e84f2c12ef655f4faf2a232a67cf94c0 Mon Sep 17 00:00:00 2001 From: nanxun Date: Fri, 5 Jun 2026 10:47:13 +0800 Subject: [PATCH] fix: add build target es2015 for Raspberry Pi Chromium compatibility Older Chromium on ARM64 doesn't support strict mode arguments.callee in modern ES module bundles. Downgrading build target to es2015. Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com --- frontend/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 2cd0680..4c90b22 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -14,6 +14,7 @@ export default defineConfig(({ command }) => ({ } }, build: { + target: "es2015", chunkSizeWarningLimit: 900, rollupOptions: { output: {