From 5f30904b1d199bc08c300c975c5970ae3d9c75ef Mon Sep 17 00:00:00 2001 From: Orion Reed Date: Tue, 9 Jul 2024 02:24:47 +0100 Subject: [PATCH] try a thing --- package.json | 4 ++-- vite.config.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 9947026..d7caf28 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "scripts": { "dev": "vite", "build": "tsc && vite build", - "preview": "vite preview", + "preview": "tsc && vite build && vite preview", "tsc": "tsc" }, "dependencies": { @@ -25,4 +25,4 @@ "typescript": "^5.5.2", "vite": "^4.4.5" } -} +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 026243f..741bdc7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,6 +3,7 @@ import react from '@vitejs/plugin-react' import { resolve } from 'path' export default defineConfig({ + base: '/scoped-propagators/', plugins: [react()], resolve: { alias: {