build: enable empty out dir vite option (#3107)

pull/3109/head
James Elliott 2022-04-04 12:55:09 +10:00 committed by GitHub
parent aac4c4772c
commit fb59ff6972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ export default defineConfig(({ mode }) => {
build: { build: {
sourcemap, sourcemap,
outDir: "../internal/server/public_html", outDir: "../internal/server/public_html",
emptyOutDir: true,
assetsDir: "static", assetsDir: "static",
rollupOptions: { rollupOptions: {
output: { output: {