2023-02-14 11:45:39 -06:00
|
|
|
import { defineConfig } from "vite";
|
2023-02-14 23:16:52 -06:00
|
|
|
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
|
|
|
],
|
|
|
|
});
|