Kyoo/front/vite.config.ts
Zoe Roux 0e01b7c564
wip
2025-06-07 19:30:05 +02:00

22 lines
427 B
TypeScript

// Typed as UserConfig for handy autocomplete
import type { UserConfig } from "vite";
import { one } from "one/vite";
export default {
ssr: {
// needed to fix ssr error of react-query
noExternal: true,
},
plugins: [
one({
deps: {
"@expo/html-elements": {
"**/*.js": ["jsx"],
},
"inline-style-prefixer": "interop",
"inline-style-prefixer/**": "interop",
},
}),
],
} satisfies UserConfig;