We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0f61dc commit a28d090Copy full SHA for a28d090
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/styles.ts
@@ -244,7 +244,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
244
options: {
245
ident: 'embedded',
246
plugins: postcssPluginCreator,
247
- sourceMap: cssSourceMap
+ sourceMap: cssSourceMap ? 'inline' : false
248
}
249
},
250
...(use as webpack.Loader[])
@@ -267,7 +267,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
267
268
ident: buildOptions.extractCss ? 'extracted' : 'embedded',
269
270
+ sourceMap: cssSourceMap && !buildOptions.extractCss ? 'inline' : cssSourceMap
271
272
273
0 commit comments