milestone 23 s2: react aria primitives and their cluster

This commit is contained in:
2026-08-12 22:12:18 +02:00
parent 994bbf922c
commit 01e455c8af
32 changed files with 2316 additions and 532 deletions
+9 -1
View File
@@ -7,7 +7,14 @@ import { defineConfig } from "vite";
export default defineConfig(({ mode }) => ({
plugins: [
stylex.vite({ useCSSLayers: true, dev: mode === "development", runtimeInjection: false }),
// StyleX resolves the `.stylex.ts` theme file itself, so it needs the `@`
// alias too — `resolve.alias` below is Vite's and the plugin cannot see it.
stylex.vite({
useCSSLayers: true,
dev: mode === "development",
runtimeInjection: false,
aliases: { "@/*": [fileURLToPath(new URL("./src/*", import.meta.url))] },
}),
react(),
tailwindcss(),
],
@@ -25,5 +32,6 @@ export default defineConfig(({ mode }) => ({
test: {
environment: "jsdom",
globals: true,
setupFiles: ["./vitest.setup.ts"],
},
}));