diff --git a/package.json b/package.json index a5ae036..18f7ef6 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "build": "vite build", "preview": "vite preview", "predeploy": "yarn run build", - "deploy": "gh-pages -d build", + "deploy": "gh-pages -d dist", "check": "svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --check . && eslint .", diff --git a/vite.config.ts b/vite.config.ts index e3a889f..815f7b9 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,5 +3,6 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'; // https://vitejs.dev/config/ export default defineConfig({ + base: '/color-dropper/', plugins: [svelte()], });