Stiches Integration with Create React App #81
Answered
by
gaussylean
gaussylean
asked this question in
Q&A
-
Is there any way to integrate stitches with CRA? stiches.config.ts would need to be inside src (can't import outside of src), but twin.macro can't find the config if it's not at the base of the folder. Not sure of how to work around this without ejecting. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
gaussylean
Dec 21, 2021
Replies: 1 comment
-
oops! seems I wasn't paying attention to the error message 😅. just need to add to the package.json:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gaussylean
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
oops! seems I wasn't paying attention to the error message 😅.
just need to add to the package.json:
"babelMacros": { "twin": { "preset": "stitches", "stitchesConfig": "./src" } }