We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0535e2b commit c66f831Copy full SHA for c66f831
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/styles.ts
@@ -258,7 +258,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
258
options: {
259
ident: 'embedded',
260
plugins: postcssPluginCreator,
261
- sourceMap: cssSourceMap
+ sourceMap: cssSourceMap ? 'inline' : false
262
}
263
},
264
...(use as webpack.Loader[])
@@ -281,7 +281,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
281
282
ident: buildOptions.extractCss ? 'extracted' : 'embedded',
283
284
+ sourceMap: cssSourceMap && !buildOptions.extractCss ? 'inline' : cssSourceMap
285
286
287
0 commit comments