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
When setting styles on a .css.ts file that includes brackets in its name like [test].css.ts, the resulting styles from the output stylesheet have an invalid className, with a missing dot, such that the styles cannot be applied.
Link to reproduction
This sandbox reproduces the issue. Both divs should be yellow, but the file whose name uses brackets gets processed incorrectly.
System Info
Output of npx envinfo --system --npmPackages @vanilla-extract/css,@vanilla-extract/webpack-plugin,@vanilla-extract/esbuild-plugin,@vanilla-extract/vite-plugin,@vanilla-extract/sprinkles,webpack,esbuild,vite --binaries --browsers:
Describe the bug
When setting styles on a
.css.ts
file that includes brackets in its name like[test].css.ts
, the resulting styles from the output stylesheet have an invalid className, with a missing dot, such that the styles cannot be applied.Link to reproduction
This sandbox reproduces the issue. Both
divs
should be yellow, but the file whose name uses brackets gets processed incorrectly.System Info
Output of
npx envinfo --system --npmPackages @vanilla-extract/css,@vanilla-extract/webpack-plugin,@vanilla-extract/esbuild-plugin,@vanilla-extract/vite-plugin,@vanilla-extract/sprinkles,webpack,esbuild,vite --binaries --browsers
:The text was updated successfully, but these errors were encountered: