mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 02:00:25 +08:00
fix(config): vite:html warning (#3518)
This commit is contained in:
parent
c2c9f4f556
commit
6978517a3a
@ -8,6 +8,7 @@ import { createHtmlPlugin } from 'vite-plugin-html';
|
||||
export function configHtmlPlugin({ isBuild }: { isBuild: boolean }) {
|
||||
const htmlPlugin: PluginOption[] = createHtmlPlugin({
|
||||
minify: isBuild,
|
||||
viteNext: true,
|
||||
});
|
||||
return htmlPlugin;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user