This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/frontend/vite.config.js

20 lines
398 B
JavaScript
Raw Normal View History

import legacy from "@vitejs/plugin-legacy"
import basicSSL from "@vitejs/plugin-basic-ssl"
import { defineConfig } from "vite"
export default defineConfig({
plugins: [legacy(), basicSSL()],
server: {
port: 1234,
strictPort: true,
https: false,
},
test: {
environment: "jsdom",
setupFiles: ["./src/tests/testSetup.ts"],
testMatch: ["./src/**/*.test.tsx?"],
globals: true,
},
})