Tynarus / angular-seed

A seed project for Angular 4+ using Webpack
GNU General Public License v3.0
33 stars 18 forks source link

SCSS maps #21

Open Tenemo opened 7 years ago

Tenemo commented 7 years ago

Is there any way to map the SCSS files so I can see what file produced given CSS rule? Except for global styles, which are excluded from the rule and compiled to the styles file, every component SCSS gets dumped into the tag. Is it possible to avoid that, so Chrome Dev Tools would be able to tell where the rules originate from?

Tynarus commented 7 years ago

Of course! I'll look into getting those sourcemaps back in there!

Tynarus commented 7 years ago

@Tenemo Seems this has to do with an Angular bug as well... Slated to be fixed in 5.0.0. See here: https://github.com/angular/angular/compare/5.0.0-beta.3...5.0.0-beta.4

and

https://github.com/angular/angular/pull/18641