From ae00815f76ebc7a668e8716785567c6e2aeb80d3 Mon Sep 17 00:00:00 2001 From: eko Date: Tue, 2 Dec 2025 15:39:21 +0700 Subject: [PATCH] add xlsx as raw file --- pkgs/utils/deploy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/utils/deploy.ts b/pkgs/utils/deploy.ts index 519c8e1..851b96e 100644 --- a/pkgs/utils/deploy.ts +++ b/pkgs/utils/deploy.ts @@ -338,7 +338,7 @@ export const deploy = { } else if (entry.filename.startsWith('public/')) { const relativePath = entry.filename.slice(7); // Remove 'public/' prefix - const binaryExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.ico', '.svg', '.woff', '.woff2', '.ttf', '.eot', '.js', '.css', '.map']; + const binaryExtensions = ['.jpg', '.jpeg', '.png', '.gif', '.ico', '.svg', '.woff', '.woff2', '.ttf', '.eot', '.js', '.css', '.map','.xlsx']; const isBinary = binaryExtensions.some(ext => relativePath.toLowerCase().endsWith(ext)); if (isBinary) {