1
0
Fork 0
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:
mat 2024-01-01 00:38:28 -06:00
parent 6b08b2bbed
commit 11bb2bdbb9
3 changed files with 3 additions and 2 deletions

View file

@ -15,6 +15,7 @@ module.exports = {
env: {
browser: true,
es2020: true,
es2022: true,
node: true,
},
rules: {

View file

@ -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

View file

@ -7,7 +7,7 @@ export default {
plugins: [sveltekit(), pngToGifForRetro()],
build: {
target: 'es2020',
target: 'es2022',
},
base: '',