Skip to content

Commit

Permalink
fix(@angular/cli): pass sourceMap to postcss
Browse files Browse the repository at this point in the history
  • Loading branch information
Manduro authored and hansl committed Nov 22, 2017
1 parent 392a393 commit c636daf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/@angular/cli/models/webpack-configs/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
options: {
// A non-function property is required to workaround a webpack option handling bug
ident: 'postcss',
plugins: postcssPluginCreator
plugins: postcssPluginCreator,
sourceMap: cssSourceMap
}
}
];
Expand Down

0 comments on commit c636daf

Please sign in to comment.