From 41a21dfca48e0b2bd7db98113a49dd827be0d5d4 Mon Sep 17 00:00:00 2001 From: PeachScript Date: Wed, 27 Sep 2023 10:45:07 +0800 Subject: [PATCH] fix: dev compatible with umi 4.0.82+ --- src/service/forkedDev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service/forkedDev.ts b/src/service/forkedDev.ts index 568dcf114a..cd9de1fe4a 100644 --- a/src/service/forkedDev.ts +++ b/src/service/forkedDev.ts @@ -1,4 +1,4 @@ -import { setNodeTitle } from 'umi/dist/cli/node'; +import { setNodeTitle } from '@umijs/utils/dist/node'; import { logger, printHelp, setNoDeprecation, yParser } from 'umi/plugin-utils'; import { DEV_COMMAND, FRAMEWORK_NAME } from './constants'; import { DumiService } from './service';