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

vite.config.ts

15 lines283 Bytes

1import { defineConfig } from 'vite'
2import { DEMO_PORT } from './config/ports.js'
3​
4export default defineConfig({
5 server: {
6 host: '127.0.0.1',
7 port: DEMO_PORT,
8 strictPort: true,
9 },
10 preview: {
11 host: '127.0.0.1',
12 port: DEMO_PORT,
13 strictPort: true,
14 },
15})