From 424e617ac2547321beaaa2aedf48b3b2032a4625 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Thu, 19 Oct 2017 13:40:50 +0100 Subject: [PATCH] fix(@angular/cli): don't drop resource extentions Fix #8099 --- packages/@angular/cli/models/webpack-configs/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@angular/cli/models/webpack-configs/common.ts b/packages/@angular/cli/models/webpack-configs/common.ts index 108b7ee3c735..be41b0f12925 100644 --- a/packages/@angular/cli/models/webpack-configs/common.ts +++ b/packages/@angular/cli/models/webpack-configs/common.ts @@ -191,7 +191,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) { test: /\.(jpg|png|webp|gif|otf|ttf|woff|woff2|ani)$/, loader: 'url-loader', options: { - name: `[name]${hashFormat.file}`, + name: `[name]${hashFormat.file}.[ext]`, limit: 10000 } }