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 c80e70287045467fc72a0210685572f2dbf88516..f03e926aa0aa55e60f4b49d06f908218d5aa18f4 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 @@ -518,7 +518,7 @@ async function processNoTargetSourceFile(id: string, code: string, compilationTi 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);