Replies: 1 comment 1 reply
-
Hey! I'm not sure I fully understand your repo setup but there's a Vite config in the By default, we only look for candidates in the same package where your Vite build is started so it could be that you're running a build of the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
For example: v4.1.7
What build tool (or framework if it abstracts the build tool) are you using?
For example: postcss-cli 11.0.0, Next.js 15.1.7, Vite 6.1.0
What version of Node.js are you using?
For example: v20.0.0
What browser are you using?
For example: Chrome
What operating system are you using?
For example: macOS
Describe your issue
When using vite in library mode to create a component package, some classes work while others do not
This is where I'm setting the values: https://github.com/blebbit/authr/blob/main/packages/authr-react-tanstack/src/views/account.tsx#L8
This is a monorepo setup with pnpm workspaces. There seem to be similar issues since (#16631)
Known workarounds
Listing out the specific classes seems to work
Using the base path does not change things (as offered as solutions in other issues)
Beta Was this translation helpful? Give feedback.
All reactions