venture-ui/vite.config.ts

12 lines
358 B
TypeScript
Raw Normal View History

2023-01-31 16:36:37 -06:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import eslint from 'vite-plugin-eslint';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
{...react(), ...eslint(), apply: 'build'},
{...react(), ...eslint({ failOnWarning: false, failOnError: false }), apply: 'serve', enforce: 'post'},
],
});