diff --git a/vite.config.ts b/vite.config.ts index 7275b98..5b028af 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,9 +1,12 @@ +import { rmSync } from 'fs' import { join } from 'path' import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' import electron from 'vite-plugin-electron' import renderer from 'vite-plugin-electron/renderer' +rmSync('dist', { recursive: true, force: true }) // v14.14.0 + // https://vitejs.dev/config/ export default defineConfig({ plugins: [