From 50ff49da232798392ceb9a65cffa2f3ca5866bb4 Mon Sep 17 00:00:00 2001 From: VivienLN Date: Wed, 8 Jun 2022 20:42:10 +0200 Subject: [PATCH] add option in vite config to not remove CNAME file in dist when building --- vite.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vite.config.js b/vite.config.js index 8dd5cd0..7aa6702 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,6 +3,9 @@ import vue from '@vitejs/plugin-vue' export default defineConfig(({ command, mode }) => ({ plugins: [vue()], + build: { + emptyOutDir: false, + }, server: { host: true, port: 3000,