Skip to content

Commit c636daf

Browse files
Mandurohansl
authored andcommitted
fix(@angular/cli): pass sourceMap to postcss
This is required per https://github.com/postcss/postcss-loader#sourcemap Closes #8588
1 parent 392a393 commit c636daf

File tree

1 file changed

+2
-1
lines changed
  • packages/@angular/cli/models/webpack-configs

1 file changed

+2
-1
lines changed

packages/@angular/cli/models/webpack-configs/styles.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
177177
options: {
178178
// A non-function property is required to workaround a webpack option handling bug
179179
ident: 'postcss',
180-
plugins: postcssPluginCreator
180+
plugins: postcssPluginCreator,
181+
sourceMap: cssSourceMap
181182
}
182183
}
183184
];

0 commit comments

Comments
 (0)