JS and its ecosystem is absolute garbage

This commit is contained in:
Igor Katson 2023-11-21 03:43:32 +00:00
parent f1c1486417
commit e5d96243d4
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
20 changed files with 2796 additions and 2982 deletions

View file

@ -1,27 +1,17 @@
{
"compilerOptions": {
"target": "ES2022",
"outDir": "dist",
"lib": [
"dom",
"es2015"
],
"jsx": "preserve",
// "jsxImportSource": "preact",
// "skipLibCheck": true,
// "baseUrl": "./",
// "paths": {
// "react": [
// "./node_modules/preact/compat/"
// ],
// "react-dom": [
// "./node_modules/preact/compat/"
// ],
// "preact": [
// "./node_modules/preact/src/"
// ]
// },
"moduleResolution": "Node16",
"module": "Node16",
}
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"allowJs": true,
"checkJs": true,
/* Preact Config */
"jsx": "react-jsx",
"skipLibCheck": true,
},
"include": [
"node_modules/vite/client.d.ts",
"**/*"
]
}