diff --git a/internal/vite-config/src/plugins/html.ts b/internal/vite-config/src/plugins/html.ts index a01b43a03..2623a2844 100644 --- a/internal/vite-config/src/plugins/html.ts +++ b/internal/vite-config/src/plugins/html.ts @@ -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; }