Skip to content

Commit

Permalink
esbuild: Add missing image formats to the file endings loaded as files (
Browse files Browse the repository at this point in the history
  • Loading branch information
moonglum authored Mar 14, 2024
1 parent 1b7e40c commit 628028c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bridgetown-website/config/esbuild.defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,13 @@ module.exports = async (esbuildOptions, ...args) => {
bundle: true,
loader: {
".jpg": "file",
".jpeg": "file",
".png": "file",
".gif": "file",
".svg": "file",
".avif": "file",
".jxl": "file",
".webp": "file",
".woff": "file",
".woff2": "file",
".ttf": "file",
Expand Down

0 comments on commit 628028c

Please sign in to comment.