mirror of
https://github.com/apricote/Listory.git
synced 2026-02-06 17:57:03 +00:00
build(frontend): replace create-react-app with vite (#272)
This commit is contained in:
parent
8721fd101d
commit
eb8fe11be6
11 changed files with 4700 additions and 22943 deletions
16
frontend/vite.config.js
Normal file
16
frontend/vite.config.js
Normal 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",
|
||||
},
|
||||
};
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue