Skip to content

Commit 7f6a2f8

Browse files
filipesilvahansl
authored andcommitted
fix(@angular/cli): don't drop resource extentions
Fix #8099
1 parent ec39a75 commit 7f6a2f8

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
191191
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/,
192192
loader: 'url-loader',
193193
options: {
194-
name: `[name]${hashFormat.file}`,
194+
name: `[name]${hashFormat.file}.[ext]`,
195195
limit: 10000
196196
}
197197
}

0 commit comments

Comments
 (0)