Skip to content

Commit

Permalink
Merge pull request #22576 from storybookjs/norbert/legacy-font-format…
Browse files Browse the repository at this point in the history
…s-manager

add legacy font formats
  • Loading branch information
valentinpalkovic authored and shilman committed May 22, 2023
1 parent 95e675e commit 019b74b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/lib/builder-manager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
'.webp': 'dataurl',
'.webm': 'dataurl',
'.woff2': 'dataurl',
// legacy font formats
'.woff': 'dataurl',
'.eot': 'dataurl',
'.ttf': 'dataurl',
},
target: ['chrome100'],
platform: 'browser',
Expand Down

0 comments on commit 019b74b

Please sign in to comment.