build(frontend): replace create-react-app with vite (#272)

This commit is contained in:
Julian Tölle 2023-05-07 04:05:11 +02:00 committed by GitHub
parent 8721fd101d
commit eb8fe11be6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 4700 additions and 22943 deletions

16
frontend/vite.config.js Normal file
View file

@ -0,0 +1,16 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
export default defineConfig(() => {
return {
build: {
outDir: "build",
},
plugins: [react()],
test: {
globals: true,
environment: "jsdom",
setupFiles: "./tests/setup.js",
},
};
});