Skip to content

Commit 5614fd1

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

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
@@ -190,7 +190,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) {
190190
test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/,
191191
loader: 'url-loader',
192192
options: {
193-
name: `[name]${hashFormat.file}`,
193+
name: `[name]${hashFormat.file}.[ext]`,
194194
limit: 10000
195195
}
196196
}

0 commit comments

Comments
 (0)