Switch to ES2022

I looked through caniuse.com and it seemed like almost much all features
were supported by newer browsers. Curious to see whether this'll work
out or if everything will blow up at some point.
This commit is contained in:
Joscha 2023-10-22 01:00:33 +02:00
parent 340f6026f3
commit 8c7399725d
2 changed files with 1 additions and 2 deletions

View file

@ -7,5 +7,4 @@
"rust-analyzer.server.extraEnv": {
"SQLX_OFFLINE": "false",
},
}

View file

@ -2,7 +2,7 @@
"include": [ "scripts/**/*" ],
"compilerOptions": {
"target": "ES2015",
"target": "ES2022", // Should be fine according to caniuse.com
"module": "ES2015",
"rootDir": "scripts",
"outDir": "target/static",