Skip to content
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

Fix sourcemaps #23255

Merged
merged 1 commit into from Aug 9, 2017
Merged

Fix sourcemaps #23255

merged 1 commit into from Aug 9, 2017

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Aug 8, 2017

Without this, the sourcemaps aren't found for me.

Fixes #23254

@XhmikosR XhmikosR added the v4 label Aug 8, 2017
@XhmikosR
Copy link
Member Author

XhmikosR commented Aug 8, 2017

Actually, can someone try this locally who is not on Windows and see if it fixes the issue?

I have opened an issue with clean-css because I see the paths using the Windows separator on Windows.

@XhmikosR XhmikosR changed the title Specify source-map-inline-sources for clean-css. Specify source-map-inline-sources for clean-css and node-sass. Aug 8, 2017
Specify `--source-map-contents true` for node-sass and `source-map-inline-sources` for clean-css.

Without this, the sourcemaps weren't found.
@XhmikosR XhmikosR requested a review from Johann-S August 8, 2017 17:10
@XhmikosR
Copy link
Member Author

XhmikosR commented Aug 8, 2017

OK, I confirmed it fixes the issue for me.

@XhmikosR XhmikosR changed the title Specify source-map-inline-sources for clean-css and node-sass. Fix sourcemaps Aug 8, 2017
Copy link
Member

@Johann-S Johann-S left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 on Win10

@XhmikosR
Copy link
Member Author

XhmikosR commented Aug 9, 2017

Thanks @Johann-S for confirming!

@mdo: should we merge this now? Currently the sourcemaps are broken for v4.

@mdo
Copy link
Member

mdo commented Aug 9, 2017

I've no idea why this fails elsewhere, but it doesn't break source maps for me, so :shipit:!

@mdo mdo merged commit 0cb7a16 into v4-dev Aug 9, 2017
@mdo mdo deleted the v4-dev-xmr-sourcemaps branch August 9, 2017 15:31
@mdo mdo added this to the v4.0.0-beta milestone Aug 9, 2017
@mdo mdo added this to Shipped in v4 Beta 1 Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
v4 Beta 1
Shipped
Development

Successfully merging this pull request may close these issues.

None yet

3 participants