diff --git a/vite.config.ts b/vite.config.ts index 1cd0287..77d632d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,6 +5,8 @@ import { nodePolyfills } from 'vite-plugin-node-polyfills'; // Vite configuration // https://vitejs.dev/config/ export default defineConfig(async () => ({ + // ensure relative asset paths in index.html file + base: './', plugins: [ // add type check directly to vite // checker({ typescript: true, overlay: false }),