Skip to content

Commit

Permalink
Merge pull request #22699 from storybookjs/norbert/mp3-support-manage…
Browse files Browse the repository at this point in the history
…r-builder

UI: Fix `.mp3` support for builder-manager
  • Loading branch information
shilman committed May 23, 2023
2 parents 0010915 + 79da966 commit 781b687
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/lib/builder-manager/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,16 @@ export const getConfig: ManagerBuilder['getConfig'] = async (options) => {
outExtension: { '.js': '.js' },
loader: {
'.js': 'jsx',
// media
'.png': 'dataurl',
'.gif': 'dataurl',
'.jpg': 'dataurl',
'.jpeg': 'dataurl',
'.svg': 'dataurl',
'.webp': 'dataurl',
'.webm': 'dataurl',
'.mp3': 'dataurl',
// modern fonts
'.woff2': 'dataurl',
// legacy font formats
'.woff': 'dataurl',
Expand Down

0 comments on commit 781b687

Please sign in to comment.