From a0bb90099c6bd883b47da1f66a9e8a9ce32a0d28 Mon Sep 17 00:00:00 2001 From: Carter Date: Thu, 5 Jun 2025 13:02:53 -0600 Subject: [PATCH] adding indexV2 to the build path --- vite.config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index ec8ea02..d347c76 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,6 +2,7 @@ import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' import tsconfigPaths from 'vite-tsconfig-paths' import { VitePWA } from 'vite-plugin-pwa'; +import * as path from 'path' // ✅ Import path module // https://vitejs.dev/config/ export default defineConfig({ @@ -39,7 +40,12 @@ export default defineConfig({ outDir: './build', sourcemap: true, minify: false, - target: 'esnext' + target: 'esnext', + rollupOptions: { + input: { + main: path.resolve(__dirname, 'indexV2.html') + } + } }, esbuild: { keepNames: true, // Prevent function name mangling