diff --git a/vite.config.ts b/vite.config.ts index 82042a9a..5702de43 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,13 +1,14 @@ -import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' -import tsconfigPaths from 'vite-tsconfig-paths' +import { defineConfig } from 'vite' import eslint from 'vite-plugin-eslint' +import tsconfigPaths from 'vite-tsconfig-paths' // https://vitejs.dev/config/ export default defineConfig({ plugins: [eslint(), tsconfigPaths(), react()], base: process.env.BASE_URL ?? '/', build: { + target:'ES2022', sourcemap: true, }, })