feat: add archive plug-in to output dist.zip after build (#4272)

* feat: add the archiver plug-in to output dist.zip after build

* chore: update env
This commit is contained in:
Vben
2024-08-29 21:47:00 +08:00
committed by GitHub
parent be3bcc1122
commit 98da0672e7
21 changed files with 200 additions and 44 deletions

View File

@@ -3,6 +3,8 @@ import type { HeadConfig } from 'vitepress';
import { resolve } from 'node:path';
import { viteArchiverPlugin } from '@vben/vite-config';
import {
GitChangelog,
GitChangelogMarkdownSection,
@@ -76,6 +78,7 @@ export const shared = defineConfig({
repoURL: () => 'https://github.com/vbenjs/vue-vben-admin',
}),
GitChangelogMarkdownSection(),
viteArchiverPlugin({ outputDir: '.vitepress' }),
],
server: {
fs: {