sigit.io/vite.config.ts

18 lines
355 B
TypeScript
Raw Permalink Normal View History

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