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 b81e6dd3bbacdb011a00ce34b91b6dd87b8195d5..2a70bb07acddc82cd46afe79bf53460aaa458d55 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 @@ -615,7 +615,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);