Skip to content

Commit

Permalink
Add image formats to esbuild.defaults.js.erb (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
moonglum authored Mar 21, 2024
1 parent 2a413fc commit 60b9d47
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,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 60b9d47

Please sign in to comment.