add xlsx as raw file

This commit is contained in:
eko 2025-12-02 15:39:21 +07:00
parent 521e90264e
commit ae00815f76
1 changed files with 1 additions and 1 deletions

View File

@ -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) {