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 editing styles in devtools with source maps #428

Merged
merged 1 commit into from
Oct 22, 2017

Conversation

emmatown
Copy link
Member

What:
Fix editing styles in devtools with source maps

Why:
Because it broke other styles on the page.

How:
Remove the @ sourceURL=some/path comment, I'm not sure if this is a good idea but it seems to work fine and the path is already inside the source map data so ¯\_(ツ)_/¯

Checklist:

  • Documentation N/A
  • Tests
  • Code complete

Before:
before fix

After:
after fix

@codecov
Copy link

codecov bot commented Oct 22, 2017

Codecov Report

Merging #428 into master will not change coverage.
The diff coverage is 100%.

Impacted Files Coverage Δ
packages/emotion/src/index.js 100% <100%> (ø) ⬆️
packages/babel-plugin-emotion/src/source-map.js 100% <100%> (ø) ⬆️

@emmatown emmatown merged commit 6db54fc into master Oct 22, 2017
@emmatown emmatown deleted the fix-editing-styles-in-devtools-with-source-maps branch October 22, 2017 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants