Migrated from react-scripts and webpack to vite

This commit is contained in:
Alejandro Celaya
2022-12-24 10:18:26 +01:00
parent 35fcd20123
commit 52f556eb2e
10 changed files with 1525 additions and 19879 deletions

View File

@@ -2,11 +2,9 @@
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"lib": [
"dom",
"es2021"
],
"jsx": "react-jsx",
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["vite/client"],
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
@@ -17,7 +15,7 @@
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"target": "es2021",
"target": "esnext",
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"resolveJsonModule": true,