diff --git a/package.json b/package.json index 1a45654..0bdbe37 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", + "homepage": "https://calcagnoloic.github.io/ecommerce-sneakers/", "scripts": { "dev": "vite", "dev:format": "prettier --write .", diff --git a/vite.config.ts b/vite.config.ts index 27c9b75..7de7ba7 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,7 +6,8 @@ export default defineConfig({ plugins: [react()], test: { globals: true, - environment: 'jsdom', - setupFiles: './src/setup.ts', + environment: "jsdom", + setupFiles: "./src/setup.ts", }, + base: "/ecommerce-sneakers/", });