chore(deps): bump Rsbuild 0.3.9 and enable clean dist (#12600)

This commit is contained in:
neverland
2024-01-27 17:16:28 +08:00
committed by GitHub
parent ed58e0246f
commit 5e49098119
3 changed files with 153 additions and 95 deletions
@@ -73,6 +73,7 @@ export async function compileSite(isProd = false) {
distPath: {
root: vantConfig.build?.site?.outputDir || SITE_DIST_DIR,
},
cleanDistPath: true,
},
html: {
template: ({ entryName }) => join(SITE_SRC_DIR, `${entryName}.html`),