mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 06:36:04 +00:00
use es2022
This commit is contained in:
parent
6b08b2bbed
commit
11bb2bdbb9
3 changed files with 3 additions and 2 deletions
|
@ -15,6 +15,7 @@ module.exports = {
|
|||
env: {
|
||||
browser: true,
|
||||
es2020: true,
|
||||
es2022: true,
|
||||
node: true,
|
||||
},
|
||||
rules: {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"moduleResolution": "node",
|
||||
"module": "es2022",
|
||||
"lib": ["es2020", "DOM", "WebWorker"],
|
||||
"lib": ["es2022", "DOM", "WebWorker"],
|
||||
"target": "es2020",
|
||||
/**
|
||||
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
||||
|
|
|
@ -7,7 +7,7 @@ export default {
|
|||
plugins: [sveltekit(), pngToGifForRetro()],
|
||||
|
||||
build: {
|
||||
target: 'es2020',
|
||||
target: 'es2022',
|
||||
},
|
||||
|
||||
base: '',
|
||||
|
|
Loading…
Add table
Reference in a new issue