-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use babel-macros to get around CRA ejecting #7
Comments
This would surely work as an addition to the babel plugin, but we'd still have to figure out how the cache could be extracted to a static file, which is what the webpack plugin does. I'll give this some thought. |
Reading
Replacing the stylesheet is only one part of the equation. For The second part is extraction, Compilation in a macro is totally doable, extraction with a macro unfortunately isn't. I was actually pretty excited about |
drat; I really dislike ejecting from CRA so I hope we can find a way around this; I'll keep looking. |
@d-pollard I'll have a play with this really soon, I have a few idea's that I'd like to verify whether they work or not. As long as I can't hook in I agree, it would be really cool to provide CRA support without ejecting. |
I wonder if we can skirt around having to eject from create react app by using
https://github.com/kentcdodds/babel-plugin-macros
The text was updated successfully, but these errors were encountered: