13 lines
343 B
TypeScript
13 lines
343 B
TypeScript
|
|
/// <reference types="vitest/config" />
|
||
|
|
import { defineConfig } from 'vite'
|
||
|
|
|
||
|
|
// Avoid the usual 5173/4173 defaults - those ports are claimed by sibling
|
||
|
|
// projects on this machine.
|
||
|
|
export default defineConfig({
|
||
|
|
server: { port: 5677, strictPort: true },
|
||
|
|
preview: { port: 4587, strictPort: true },
|
||
|
|
test: {
|
||
|
|
environment: 'node',
|
||
|
|
},
|
||
|
|
})
|