mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
22 lines
427 B
JavaScript
22 lines
427 B
JavaScript
import path from "path";
|
|
import react from "@vitejs/plugin-react";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig(() => {
|
|
return {
|
|
build: {
|
|
outDir: "build",
|
|
},
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
src: path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: "jsdom",
|
|
setupFiles: "./tests/setup.js",
|
|
},
|
|
};
|
|
});
|