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: {