Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): support emitting AVIF image files
Browse files Browse the repository at this point in the history
(cherry picked from commit e22c196)
  • Loading branch information
clydin committed Oct 23, 2020
1 parent 3f0499f commit 3ed4790
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
strictExportPresence: true,
rules: [
{
test: /\.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/,
test: /\.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani|avif)$/,
loader: require.resolve('file-loader'),
options: {
name: `[name]${hashFormat.file}.[ext]`,
Expand Down

0 comments on commit 3ed4790

Please sign in to comment.