venture-ui/vite.config.ts

23 lines
453 B
TypeScript
Raw Normal View History

2023-02-14 11:45:39 -06:00
import { defineConfig } from "vite";
import { checker } from "vite-plugin-checker";
2023-02-14 11:45:39 -06:00
import react from "@vitejs/plugin-react";
import eslint from "vite-plugin-eslint";
2023-01-31 16:36:37 -06:00
// https://vitejs.dev/config/
export default defineConfig({
2023-02-14 11:45:39 -06:00
server: {
host: true,
},
2023-01-31 16:36:37 -06:00
plugins: [
2023-02-14 11:45:39 -06:00
{
...react(),
...checker({
typescript: true,
eslint: {
lintCommand: 'eslint "./src/**/*.{ts,tsx}"',
},
}),
2023-02-14 11:45:39 -06:00
},
2023-01-31 16:36:37 -06:00
],
});