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,