From 7096cc94903d5b207c3e8bd377af58a8a24fdaaf Mon Sep 17 00:00:00 2001 From: Sarun Intaralawan Date: Wed, 14 Sep 2016 07:11:55 +0700 Subject: [PATCH] fix(config): change css regex which causes error (#2069) 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,