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:
parent
340f6026f3
commit
8c7399725d
2 changed files with 1 additions and 2 deletions
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
|
@ -7,5 +7,4 @@
|
||||||
"rust-analyzer.server.extraEnv": {
|
"rust-analyzer.server.extraEnv": {
|
||||||
"SQLX_OFFLINE": "false",
|
"SQLX_OFFLINE": "false",
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"include": [ "scripts/**/*" ],
|
"include": [ "scripts/**/*" ],
|
||||||
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2015",
|
"target": "ES2022", // Should be fine according to caniuse.com
|
||||||
"module": "ES2015",
|
"module": "ES2015",
|
||||||
"rootDir": "scripts",
|
"rootDir": "scripts",
|
||||||
"outDir": "target/static",
|
"outDir": "target/static",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue