venture-ui/vite.config.ts

20 lines
423 B
TypeScript

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import eslint from "vite-plugin-eslint";
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: true,
},
plugins: [
{ ...react(), ...eslint(), apply: "build" },
{
...react(),
...eslint({ failOnWarning: false, failOnError: true }),
apply: "serve",
enforce: "post",
},
],
});