sigit.io/vite.config.ts

18 lines
355 B
TypeScript
Raw Normal View History

2024-02-27 19:03:15 +05:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
2024-05-31 12:44:14 +05:00
import tsconfigPaths from 'vite-tsconfig-paths'
2024-10-25 18:38:47 +02:00
import { nodePolyfills } from 'vite-plugin-node-polyfills'
2024-02-27 19:03:15 +05:00
export default defineConfig({
2024-10-25 18:38:47 +02:00
plugins: [
react(),
tsconfigPaths(),
nodePolyfills({
include: ['os']
})
],
2024-05-31 12:44:14 +05:00
build: {
target: 'ES2022'
2024-05-31 12:44:14 +05:00
}
2024-02-27 19:03:15 +05:00
})