Variants are broken (custom react-env breaks bit install
)
#5276
Unanswered
Tommoore96
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've added a new custom react-env to provide the themes to the docs and whenever the variant is set to

ui/*
bit install breaks like so:The loading here never finishes.
I thought it was something wrong with my react-env setup but if I change the variant path to
ui/button
it works! Except it works on every component, even ones not specified like ui/input or even completely different scopes likefigma
which is where I don't want it to occur.I've tried all sorts of paths to make ui components use my custom react, where am I going wrong, or is this a problem with Bit?
Here is the part of the variants section I'm trying to get to work:
Beta Was this translation helpful? Give feedback.
All reactions