Feature/migrate to vite (#349)

* Install dependencies

* Remove dependency react-scripts

* Remove dependency "@babel/plugin-proposal-private-property-in-object"

Was necessary to prevent a react-scripts warning.

* Update scripts in package.json

* Add vite config

* Move "public/index.html" to root folder

* Remove "%PUBLIC_URL%" occurrences

* Link "src/index.tsx" in "index.html"

* Update tsconfig target to "esnext"

* Target latest LTS node version (v18.16.0)

* Add "@types/node" dependency
This commit is contained in:
schroda
2023-06-05 00:58:21 +02:00
committed by GitHub
parent fa614a19d2
commit bc99728dcd
6 changed files with 310 additions and 6972 deletions

View File

@@ -1,7 +1,7 @@
{
"compilerOptions": {
"baseUrl": "./src",
"target": "es2015",
"target": "ESNext",
"lib": [
"dom",
"dom.iterable",
@@ -22,6 +22,7 @@
"jsx": "react-jsx"
},
"include": [
"src"
"src",
"vite.config.ts"
]
}