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
  • Loading branch information
clydin committed Oct 23, 2020
1 parent c2b0417 commit e22c196
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -497,7 +497,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 e22c196

Please sign in to comment.