vite-plugin-stylex
vite-plugin-stylex copied to clipboard
an unofficial @stylexjs vite support
When using the `?url` import, there seems to be a mismatch between the generated assets, resulting in two identical css files (with different hashes), with the *mismatched* included at the...
``` [vite] Internal server error: /home/aspizu/Documents/Projects/stylex-components/src/Base.tsx: Only static values are allowed inside of a stylex.create() call. Plugin: vite-plugin-stylex ``` ```ts import react from "@vitejs/plugin-react" import {defineConfig} from "vite" import {stylexPlugin}...
With a NUXT SSR app, only the first component registering a style gets to keep it. For some reason, the second component has its styles removed. Reproduction: https://stackblitz.com/edit/nuxt-3-vite-stylex-x1dwmq?file=components%2Fbtn1.vue,components%2Fbtn2.vue,app.vue you can...
``` Uncaught TypeError: can't access property "__k", t2 is null ``` ```ts import civet from "@danielx/civet/dist/vite.mjs"; import preact from "@preact/preset-vite"; import { stylexPlugin } from "vite-plugin-stylex-dev"; import { defineConfig }...