fix: exclude archives from bridgeable output
This commit is contained in:
+3
-1
@@ -29,6 +29,7 @@ export const shouldCopyFile = (name) => {
|
|||||||
|
|
||||||
return ![
|
return ![
|
||||||
'.css',
|
'.css',
|
||||||
|
'.gz',
|
||||||
'.gif',
|
'.gif',
|
||||||
'.jpeg',
|
'.jpeg',
|
||||||
'.jpg',
|
'.jpg',
|
||||||
@@ -38,7 +39,8 @@ export const shouldCopyFile = (name) => {
|
|||||||
'.svg',
|
'.svg',
|
||||||
'.webp',
|
'.webp',
|
||||||
'.woff',
|
'.woff',
|
||||||
'.woff2'
|
'.woff2',
|
||||||
|
'.zip'
|
||||||
].includes(extname(name));
|
].includes(extname(name));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user