aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/vite.config.ts')
-rw-r--r--frontend/vite.config.ts15
1 files changed, 12 insertions, 3 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 9cc50ea..54066fb 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -1,7 +1,16 @@
+import { vitePlugin as remix } from "@remix-run/dev";
import { defineConfig } from "vite";
-import react from "@vitejs/plugin-react";
+import tsconfigPaths from "vite-tsconfig-paths";
-// https://vitejs.dev/config/
export default defineConfig({
- plugins: [react()],
+ plugins: [
+ remix({
+ future: {
+ v3_fetcherPersist: true,
+ v3_relativeSplatPath: true,
+ v3_throwAbortReason: true,
+ },
+ }),
+ tsconfigPaths(),
+ ],
});