Open nedjulius opened 7 months ago
found the blocking issue: https://github.com/oven-sh/bun/issues/4511
the file path resolver for stylex
vars relies on require.resolve
, and currently the path
option is not implemented on Bun
I released a new version that polyfills the require.resolve
method required in the StyleX babel plugin. should work as a temporary fix, will attempt to fix the issue within Bun runtime itself.
With
type: haste
variable names are not matching:With
CommonJS
resolution, the variables are not even computed.