From 6eef8313b823bff39b9c8a6a0663a40e5560cbee Mon Sep 17 00:00:00 2001 From: Sarun Intaralawan Date: Mon, 12 Sep 2016 21:20:58 +0700 Subject: [PATCH] fix(config): change css regex which causes error Closes angular/angular#11445 --- packages/angular-cli/models/webpack-build-common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular-cli/models/webpack-build-common.ts b/packages/angular-cli/models/webpack-build-common.ts index 287dec4b9e86..684e573b65b8 100644 --- a/packages/angular-cli/models/webpack-build-common.ts +++ b/packages/angular-cli/models/webpack-build-common.ts @@ -75,7 +75,7 @@ export function getWebpackCommonConfig( // in main, load css as raw text        { exclude: styles, - test: /\.css/, + test: /\.css$/, loaders: ['raw-loader', 'postcss-loader'] }, { exclude: styles,