add xlsx as raw file
This commit is contained in:
parent
521e90264e
commit
ae00815f76
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue