File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
258
258
options : {
259
259
ident : 'embedded' ,
260
260
plugins : postcssPluginCreator ,
261
- sourceMap : cssSourceMap
261
+ sourceMap : cssSourceMap ? 'inline' : false
262
262
}
263
263
} ,
264
264
...( use as webpack . Loader [ ] )
@@ -281,7 +281,7 @@ export function getStylesConfig(wco: WebpackConfigOptions) {
281
281
options : {
282
282
ident : buildOptions . extractCss ? 'extracted' : 'embedded' ,
283
283
plugins : postcssPluginCreator ,
284
- sourceMap : cssSourceMap
284
+ sourceMap : cssSourceMap && ! buildOptions . extractCss ? 'inline' : cssSourceMap
285
285
}
286
286
} ,
287
287
...( use as webpack . Loader [ ] )
You can’t perform that action at this time.
0 commit comments