From 4b2555de4a80b56e1bd11874ed3b58af115b8c7b Mon Sep 17 00:00:00 2001 From: ningmengchongshui <916415899@qq.com> Date: Tue, 18 Jun 2024 09:52:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/module.ts b/src/utils/module.ts index 88567cc..61f054f 100644 --- a/src/utils/module.ts +++ b/src/utils/module.ts @@ -47,7 +47,7 @@ export const createDynamic = (basePath: string) => { return (path: string) => import( new URL( - `${path}${process.env.NODE_ENV == 'NODE_ENV' ? '' : now()}`, + `${path}${process.env.NODE_ENV == 'production' ? '' : now()}`, basePath ).href )