You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use esbuild togehter with stylex.defineVars. Sometimes the custom properties in :root get's written, but most of the time, the will not appear in the css file. Even when I run it with the build command, without a watcher.
I've got no clue, why this does this happen. No error in the cli, nothing.
Expected behavior
The custom properties gets written every time
Steps to reproduce
Start using stylex.defineVars in a esbuild project. After some time, event without a change on the styles, to custom properties doesn't appear anymore.
Test case
No response
Additional comments
I don't know if this has something to do with #363
The text was updated successfully, but these errors were encountered:
This seems to be a duplicate of #454. It's already fixed, but the fix is not published yet. In the meantime, you can try manually setting treeshakeCompensation option to true in the StyleX esbuild plugin options.
Describe the issue
I use
esbuild
togehter withstylex.defineVars
. Sometimes the custom properties in:root
get's written, but most of the time, the will not appear in thecss
file. Even when I run it with thebuild
command, without a watcher.I've got no clue, why this does this happen. No error in the cli, nothing.
Expected behavior
The custom properties gets written every time
Steps to reproduce
stylex.defineVars
in a esbuild project. After some time, event without a change on the styles, to custom properties doesn't appear anymore.Test case
No response
Additional comments
I don't know if this has something to do with #363
The text was updated successfully, but these errors were encountered: