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

View File

@@ -48,10 +48,10 @@
"dependencies": {
"@babel/core": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@rsbuild/core": "0.3.2",
"@rsbuild/plugin-babel": "0.3.2",
"@rsbuild/plugin-vue": "0.3.2",
"@rsbuild/plugin-vue-jsx": "0.3.2",
"@rsbuild/core": "0.3.9",
"@rsbuild/plugin-babel": "0.3.9",
"@rsbuild/plugin-vue": "0.3.9",
"@rsbuild/plugin-vue-jsx": "0.3.9",
"@vant/eslint-config": "workspace:^",
"@vant/touch-emulator": "workspace:^",
"@vitejs/plugin-vue": "^4.5.2",

View File

@@ -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`),