Skip to content

Commit

Permalink
Add webp as a Webpack asset type
Browse files Browse the repository at this point in the history
Maybe this will cause its use in CSS to be rewritten?
  • Loading branch information
backspace committed Jan 4, 2024
1 parent f42ddc0 commit ad3d18a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/host/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ module.exports = function (defaults) {
test: /\.woff2$/,
type: 'asset',
},
{
test: /\.webp$/,
type: 'asset',
},
],
},
plugins: [
Expand Down

0 comments on commit ad3d18a

Please sign in to comment.