Skip to content

Commit

Permalink
Merge pull request #79 from zkdan/tiny-fixes
Browse files Browse the repository at this point in the history
updated language target to deal with Top-level await is not available…
  • Loading branch information
zkdan authored Jan 24, 2024
2 parents 4e213e9 + 2a45583 commit 097ccba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -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,
},
})

0 comments on commit 097ccba

Please sign in to comment.