sigit.io/vite.config.ts
2024-10-25 18:38:47 +02:00

18 lines
355 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
import { nodePolyfills } from 'vite-plugin-node-polyfills'
export default defineConfig({
plugins: [
react(),
tsconfigPaths(),
nodePolyfills({
include: ['os']
})
],
build: {
target: 'ES2022'
}
})