From 547508bbee07d8f0d1a0e9b5f5f190655249e741 Mon Sep 17 00:00:00 2001 From: Lukas Hass Date: Thu, 21 Nov 2024 23:31:18 +0100 Subject: [PATCH] set base only for github pages deployment --- .github/workflows/playground.yaml | 2 +- packages/former/vite.config.playground.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/playground.yaml b/.github/workflows/playground.yaml index 24af740..20050a0 100644 --- a/.github/workflows/playground.yaml +++ b/.github/workflows/playground.yaml @@ -21,7 +21,7 @@ jobs: with: version: 9 run_install: true - - run: pnpm -r build:playground + - run: pnpm -r build:playground --base './' - name: Upload Pages artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/packages/former/vite.config.playground.ts b/packages/former/vite.config.playground.ts index 72a060e..3dadae3 100644 --- a/packages/former/vite.config.playground.ts +++ b/packages/former/vite.config.playground.ts @@ -4,7 +4,6 @@ import { defineConfig } from 'vite'; // https://vitejs.dev/config/ export default defineConfig({ - base: '', plugins: [ vue(), ],