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: {
|
2024-08-08 10:37:47 +00:00
|
|
|
target: 'ES2022'
|
2024-05-31 07:44:14 +00:00
|
|
|
}
|
2024-02-27 14:03:15 +00:00
|
|
|
})
|