Nir Krevner
Nir Krevner

Reputation: 241

Angular-CLI sass Source Map

ng serve compiles my app, but when I'm inspecting the html, the source of the CSS seems to be (style)...(/style). Does anybody knows how to configure sass source map via Angular-CLI ?

Upvotes: 10

Views: 4945

Answers (1)

Serhiy  Koziuk
Serhiy Koziuk

Reputation: 696

When you type ng serve by default angular cli doesn't include sourcemaps files for css files but you can include it by typing this command

ng serve -sm -ec

or

ng serve --sourcemap --extractCss

I use Angular Cli -v 1.0.3, and More information - Angular CLI special cases

Perhaps, its help you.

Upvotes: 9

Related Questions