Skip to content

Commit

Permalink
Update src/workers/file.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Vandersmith <[email protected]>
  • Loading branch information
chenyan-dfinity and rvanasa authored Sep 25, 2024
1 parent d32ef15 commit a7cee67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workers/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const isValidFile = (path: string) => {
return validFiles.test(path); // && !path.includes("/declarations/");
};
const isBinaryFile = (path: string) => {
const binaryFiles = /\.(png|jpg|jpeg|gif|ico)$/;
const binaryFiles = /\.(png|jpg|jpeg|gif|ico|wasm)$/;
return binaryFiles.test(path);
};

Expand Down

0 comments on commit a7cee67

Please sign in to comment.