We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I do something as simple as:
import { colors } from '@stylexjs/open-props/lib/colors.stylex' const styles = stylex.create({ base: { color: colors.indigo6, }, });
and I look at the built css, and all the colors are compiled in. That single line is 4500 characters long!
Only the used color should be present in the compiled css.
I'm using this in Vite with the following versions.
"@stylexjs/open-props": "^0.9.3", "@stylexjs/stylex": "^0.9.3", "vite-plugin-stylex": "^0.13.0"
Let me know if this is indeed a bug and then I'll try to make a minimal reproducible case here.
No response
The text was updated successfully, but these errors were encountered:
Thank you for filing this issue. This is a known issue but we forgot to prioritize it.
Sorry, something went wrong.
Thank you for the reply, great to hear that!
No branches or pull requests
Describe the issue
I do something as simple as:
and I look at the built css, and all the colors are compiled in. That single line is 4500 characters long!
Expected behavior
Only the used color should be present in the compiled css.
Steps to reproduce
I'm using this in Vite with the following versions.
"@stylexjs/open-props": "^0.9.3",
"@stylexjs/stylex": "^0.9.3",
"vite-plugin-stylex": "^0.13.0"
Let me know if this is indeed a bug and then I'll try to make a minimal reproducible case here.
Test case
No response
Additional comments
No response
The text was updated successfully, but these errors were encountered: