Skip to content

Commit 6494985

Browse files
authored
SCSS 'WebP' image load
angular#6526
1 parent b72dbd9 commit 6494985

File tree

1 file changed

+1
-1
lines changed
  • packages/@angular/cli/models/webpack-configs

1 file changed

+1
-1
lines changed

packages/@angular/cli/models/webpack-configs/common.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
8787
{ test: /\.html$/, loader: 'raw-loader' },
8888
{ test: /\.(eot|svg)$/, loader: `file-loader?name=[name]${hashFormat.file}.[ext]` },
8989
{
90-
test: /\.(jpg|png|gif|otf|ttf|woff|woff2|cur|ani)$/,
90+
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|cur|ani)$/,
9191
loader: `url-loader?name=[name]${hashFormat.file}.[ext]&limit=10000`
9292
}
9393
].concat(extraRules)

0 commit comments

Comments
 (0)