Skip to content

Commit 395df05

Browse files
erikagirouxFrozenPandaz
authored andcommitted
fix(devkit): add font file extensions to binaryExts in generate-files.ts (#6439)
Add font file extensions to the list of extensions that should not be rendered with ejs ISSUES CLOSED: #5213 Co-authored-by: egiroux <erika.giroux@ubisoft.com>
1 parent 4f23692 commit 395df05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/devkit/src/generators/generate-files.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ const binaryExts = new Set([
2727
// Java files
2828
'.jar',
2929
'.keystore',
30+
31+
// Font files
32+
'.ttf',
33+
'.otf',
34+
'.woff',
35+
'.woff2',
36+
'.eot',
3037
]);
3138

3239
/**

0 commit comments

Comments
 (0)