From bc99728dcd9e7b36c8d3495d80bcbd6b3326f072 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 5 Jun 2023 00:58:21 +0200 Subject: [PATCH] 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 --- .nvmrc | 2 +- public/index.html => index.html | 16 +- package.json | 13 +- tsconfig.json | 5 +- vite.config.ts | 21 + yarn.lock | 7225 ++----------------------------- 6 files changed, 310 insertions(+), 6972 deletions(-) rename public/index.html => index.html (61%) create mode 100644 vite.config.ts diff --git a/.nvmrc b/.nvmrc index e329619c..b1215e87 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.19.1 +v18.16.0 \ No newline at end of file diff --git a/public/index.html b/index.html similarity index 61% rename from public/index.html rename to index.html index 0b52ddfb..5cebf60d 100644 --- a/public/index.html +++ b/index.html @@ -2,33 +2,25 @@ - + - + - - + Tachidesk
+