Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

vite.config.ts

9 lines204 Bytes

1import { defineConfig } from 'vite'
2import preact from '@preact/preset-vite'
3​
4export default defineConfig(({ isSsrBuild }) => ({
5 plugins: [preact()],
6 build: {
7 copyPublicDir: !isSsrBuild,
8 },
9}))