Naman Goel

Results 403 comments of Naman Goel

We do not plan to add any new syntax for defining values for multiple pseudo classes at once. We might add more syntax in the future, but we don't want...

You need to ensure that you don't transform `import` statements before StyleX is done. Instead of using a separate babebl plugin, you can pass your babel config to the StyleX...

@tmeindle The issue is that what you're trying to do isn't really compatible with `Rollup` either. In your example, uncomment the `modules: false,` line so that `preset-env` leaves the import...

> But uncommenting modules: false makes everything work as expected. There is a idiosyncrasy with Rollup here. I tried removing all of StyleX and I still ran into issue without...

@tmeindle Re-opening the issue as there seems to be a simple fix to make the Rollup plugin more robust. I'm still not entirely sure what needs to be done, so...

@tmeindle Happy to accept and merge a PR, but I'll try it on my end soon if you're not interested in doing that. Thanks for the proposed solution either way.

@olivierpascal try [0.5.0-alpha.4](https://www.npmjs.com/package/@stylexjs/stylex/v/0.5.0-alpha.4). The problem *should* be fixed.

What you're trying to achieve is essentially a descendent selector which isn't officially supported. This kind of case is what is what we are still trying to solve. You will...

Do you have a CSS file with global styles that is being imported by the outermost `layout.tsx` file? The Next setup inserts the generated styles into an existing CSS file....