xachary
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
internal/vite-config/src/plugins/html.ts
|
|
@ -8,6 +8,7 @@ import { createHtmlPlugin } from 'vite-plugin-html'; |
|
|
export function configHtmlPlugin({ isBuild }: { isBuild: boolean }) { |
|
|
export function configHtmlPlugin({ isBuild }: { isBuild: boolean }) { |
|
|
const htmlPlugin: PluginOption[] = createHtmlPlugin({ |
|
|
const htmlPlugin: PluginOption[] = createHtmlPlugin({ |
|
|
minify: isBuild, |
|
|
minify: isBuild, |
|
|
|
|
|
viteNext: true, |
|
|
}); |
|
|
}); |
|
|
return htmlPlugin; |
|
|
return htmlPlugin; |
|
|
} |
|
|
} |
|
|
|