Source maps for css/sass
I am using the following setup:
Mac OSX El capitan angular-cli v1.0.0-beta.11-webpack.8, branch: master node 6.5.0 os: darwin x64 Using Sass
This might not be a bug with angular-cli, perhaps it is a limitation with angular2 but I am looking for anyone who's managed to solve this. I cannot get the sass to be source mapped. I want to inspect the CSS and see where a particular value is being set.
Personally, I am trying to work out how to edit the setup so I can do this locally. I am not too concerned in editing the webpack config, this is only going to be an issue in development, not production. But thinking globally, I think this should just work for anyone using angular-cli.
I have tried adding the source map commands here to webpack-build-common but no luck... I still see only the css in the head and nothing external.
I also saw another user trying something here with LESS, maybe I can do similar... https://github.com/angular/angular-cli/issues/1656#issuecomment-240983105
I also found this issue in the angular project but it appears to be fixed now.
This issue appears whether I use css, sass and whether I change ViewEncapsulation within the component or not.
I am not at all familiar with webpack and only angular 1.5 so please forgive me. Any help appreciated :)
Edit: here is my project setup
I can't believe we are still having this problem :(
This issue(and several others on sourcemaps) seem closed. Perhaps someone should create a detailed issue with reference to this an the other dead threads?
Is there any kind of a workaround for this?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.