Skip to content

Commit

Permalink
Change build target to esnext
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjesc committed Apr 29, 2024
1 parent dc8e005 commit 513792b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES2020",
"target": "esnext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
Expand Down
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { VitePWA } from "vite-plugin-pwa";

export default defineConfig({
base: "/",
build: {
target: "esnext",
},
plugins: [
VitePWA({
registerType: "autoUpdate",
Expand Down

0 comments on commit 513792b

Please sign in to comment.