-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
emotion interacts poorly with babel-cli --out-dir #167
Comments
It looks like this isn't possible. https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/index.js#L204-L212 |
I'm just |
@ChristopherBiscardi can you open up a formal issue for that feature request please? I like that idea and I don't want it to get lost in the shuffle. |
Thank you @ChristopherBiscardi. I'm going to close this one. |
emotion
version: 6.0.3Relevant code: https://github.com/ChristopherBiscardi/emotion-babel-bug
What you did:
Run
babel src --out-dir lib
What happened:
*.emotion.css
files are written insrc
, not inlib
.Reproduction:
Problem description:
emotion/src/babel writes this file out as a relative path.
Suggested solution:
If babel allows access to an
--out-dir
configuration in the babel transformation, then use that to prefix the filename.The text was updated successfully, but these errors were encountered: