Skip to content

Commit 7096cc9

Browse files
saruninthansl
authored andcommitted
fix(config): change css regex which causes error (#2069)
Closes angular/angular#11445
1 parent 7e1bdd7 commit 7096cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular-cli/models/webpack-build-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function getWebpackCommonConfig(
7575
// in main, load css as raw text
7676
       {
7777
exclude: styles,
78-
test: /\.css/,
78+
test: /\.css$/,
7979
loaders: ['raw-loader', 'postcss-loader']
8080
}, {
8181
exclude: styles,

0 commit comments

Comments
 (0)