mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 23:44:39 +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: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es2020: true,
|
es2020: true,
|
||||||
|
es2022: true,
|
||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"module": "es2022",
|
"module": "es2022",
|
||||||
"lib": ["es2020", "DOM", "WebWorker"],
|
"lib": ["es2022", "DOM", "WebWorker"],
|
||||||
"target": "es2020",
|
"target": "es2020",
|
||||||
/**
|
/**
|
||||||
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
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()],
|
plugins: [sveltekit(), pngToGifForRetro()],
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
target: 'es2020',
|
target: 'es2022',
|
||||||
},
|
},
|
||||||
|
|
||||||
base: '',
|
base: '',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue