venture-ui/vite.config.ts

20 lines
390 B
TypeScript
Raw Permalink 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
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-15 13:36:16 -06:00
react(),
checker({
typescript: true,
eslint: {
lintCommand: 'eslint "./src/**/*.{ts,tsx}"',
},
}),
2023-01-31 16:36:37 -06:00
],
});