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 May 17, 2023
2 parents 57b86e6 + 0693544 commit c1f6a9e
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 c1f6a9e

Please sign in to comment.