diff --git a/packages/preset-umi/src/commands/dev/plugins/ViteHtmlPlugin.ts b/packages/preset-umi/src/commands/dev/plugins/ViteHtmlPlugin.ts index 3561d51f0888..61a4f0a2fd4c 100644 --- a/packages/preset-umi/src/commands/dev/plugins/ViteHtmlPlugin.ts +++ b/packages/preset-umi/src/commands/dev/plugins/ViteHtmlPlugin.ts @@ -1,4 +1,5 @@ -import { getMarkup, IOpts } from '@umijs/server'; +import { getMarkup } from '@umijs/server'; +import { IOpts } from '@umijs/server/dist/types'; import type { Plugin } from 'vite'; import { IApi } from '../../../types'; import { getMarkupArgs } from '../getMarkupArgs';