We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fantastic work on this library btw, I was last working with v6, lots of improvements since I see 👍
emotion
react
Relevant code.
const redBG = css`background-color: red` injectGlobal` h2 { color: green; } ` class App extends Component { render() { return ( <div className={redBG}> <h2>testing</h2> </div> ); } }
What you did: I enabled sourceMaps in a create-react-app rewired project:
create-react-app
module.exports = function override(config, env) { return rewireEmotion(config, env, { sourceMap: true }); }
What happened: The effects of the css API no longer worked, although the css class was created on the element.
css
Reproduction:
Github repo: https://github.com/johnbrett/emotion-testing
Happy to try debug this further / submit a fix with guidance!
The text was updated successfully, but these errors were encountered:
emmatown
Successfully merging a pull request may close this issue.
Fantastic work on this library btw, I was last working with v6, lots of improvements since I see 👍
emotion
version: 8.0.10react
version: 16.1.0Relevant code.
What you did:
I enabled sourceMaps in a
create-react-app
rewired project:What happened:
The effects of the
css
API no longer worked, although the css class was created on the element.Reproduction:
Github repo: https://github.com/johnbrett/emotion-testing
Happy to try debug this further / submit a fix with guidance!
The text was updated successfully, but these errors were encountered: