-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS Sourcemap is always empty #4199
Comments
I also tried |
Bug I think. I have known about it for a while, but haven't had time to look at it yet. |
I think we should have e2e test to cover css sourcemap |
I'm facing the same issue, the css source map is empty. |
Are you sure it's fixed? I still have the issue. My command is like this
And source map still not show up demo: https://github.com/craigcosmo/yeahman-angular-cli-app |
@filipesilva Maybe we need to reopen this issue |
Regarding component styles and sourcemaps, please see @asnowwolf's excelent explanation in #3617 (comment). The gist of it is that component styles atm cannot have style maps. |
The sourcemaps for global style seemed broken again |
@changLiuUNSW can you show me a repro? |
@filipesilva https://github.com/changLiuUNSW/ng2Redux based on angular-cli 1.0.0-beta.32.3 |
@changLiuUNSW I tried your repo, serving with |
Yes, it works. I forget to put |
@filipesilva , HI, this is not working for me in v1.04. What steps do I need to troubleshoot? Or what do you need from me to troubleshoot? My expectation is to see the component scss files mapped to the elements inspected in chrome developer tools. Please let me know if this is not the correct expectation. |
@daddyschmack It's a reasonable expectation. But in fact, this issue is blocked by angular/angular#16088 and angular/angular#16090 . |
Fix CSS source mapping for component by keeping `/*# sourceMappingURL= ... */` and `/*# sourceURL= ... */` comments. See <angular/angular-cli#4199>
Fix CSS source mapping for component by keeping `/*# sourceMappingURL= ... */` and `/*# sourceURL= ... */` comments. Relates to <angular/angular-cli#4199>.
Fix CSS source mapping for component by keeping `/*# sourceMappingURL= ... */` and `/*# sourceURL= ... */` comments. Relates to <angular/angular-cli#4199>.
Fix CSS source mapping for component by keeping `/*# sourceMappingURL= ... */` and `/*# sourceURL= ... */` comments. Relates to <angular/angular-cli#4199>.
Fix CSS source mapping for component by keeping `/*# sourceMappingURL= ... */` and `/*# sourceURL= ... */` comments. Relates to <angular/angular-cli#4199>.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
My Angular-Cli version is
1.0.0-beta.26
Here is my
angular-cli.json
:And Here is my
styles.scss
When I type
ng serve --extract-css=true
orng build --extract-css=true
, thestyles.bundle.map
is always empty like:Does anyone have the same issue with me ? Or maybe this is expected behavior ?
The text was updated successfully, but these errors were encountered: