aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/vite.config.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-27 01:17:37 +0900
committernsfisis <nsfisis@gmail.com>2024-07-27 05:59:23 +0900
commit18308a22879dc9143a03bcbe53cf0c5e8e49ee1f (patch)
treec1c108e27b1c369f30670480e19082044ae1b8a0 /frontend/vite.config.ts
parente487036c5cc9f5b59e9efbaec132a2fd60896317 (diff)
downloadphperkaigi-2025-albatross-18308a22879dc9143a03bcbe53cf0c5e8e49ee1f.tar.gz
phperkaigi-2025-albatross-18308a22879dc9143a03bcbe53cf0c5e8e49ee1f.tar.zst
phperkaigi-2025-albatross-18308a22879dc9143a03bcbe53cf0c5e8e49ee1f.zip
remix
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(),
+ ],
});