From c13faa11061e22dc359fd6fc040e48752b5cb83b Mon Sep 17 00:00:00 2001 From: axetroy Date: Thu, 18 Feb 2021 10:31:36 +0800 Subject: [PATCH] fix: vite config --- playground/vite.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playground/vite.config.ts b/playground/vite.config.ts index 6c240cb9..db42ac40 100644 --- a/playground/vite.config.ts +++ b/playground/vite.config.ts @@ -3,9 +3,7 @@ import httpImport from "import-http/rollup"; import { defineConfig } from "vite"; export default defineConfig({ + base: process.env.NODE_ENV === "production" ? "/whatchanged" : "/", root: __dirname, - build: { - base: process.env.NODE_ENV === "production" ? "/whatchanged" : "/", - }, plugins: [vue(), httpImport()], });