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

This commit is contained in:
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

View File

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