From 43eacd99d368e874d5f3ed5bb48b35fd6acf0ef9 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 --- addon/ng2/models/webpack-build-common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/ng2/models/webpack-build-common.ts b/addon/ng2/models/webpack-build-common.ts index d4291f118851..ef99f51742a9 100644 --- a/addon/ng2/models/webpack-build-common.ts +++ b/addon/ng2/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,