From 6d935bea54d933116882a395c577cdbb0ebf8ff7 Mon Sep 17 00:00:00 2001 From: Cuecuexiaoyu Date: Thu, 11 Sep 2025 20:16:24 +0800 Subject: [PATCH] modifiy path name Signed-off-by: Cuecuexiaoyu Change-Id: I37025ff3ab27a7dd7f40c27b8583c2e2c0bb630b --- compiler/src/fast_build/ets_ui/rollup-plugin-ets-typescript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/fast_build/ets_ui/rollup-plugin-ets-typescript.ts b/compiler/src/fast_build/ets_ui/rollup-plugin-ets-typescript.ts index 8f0e19096..676e86a47 100644 --- a/compiler/src/fast_build/ets_ui/rollup-plugin-ets-typescript.ts +++ b/compiler/src/fast_build/ets_ui/rollup-plugin-ets-typescript.ts @@ -576,7 +576,7 @@ async function processNoTargetSourceFile(id: string, code: string, parentEvent?: const newSourceFile: ts.SourceFile = ts.createSourceFile(root.id, root.code, etsCheckerCompilerOptions.target, true, undefined, etsCheckerCompilerOptions); newSourceFile.originalFileName = newSourceFile.fileName; - newSourceFile.resolvePath = root.id; + newSourceFile.resolvedPath = root.id; newSourceFile.path = root.id; globalProgram.program.processImportedModules(newSourceFile, true); globalProgram.program.setProgramSourceFiles(newSourceFile); -- Gitee