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 8f0e19096c58b10c7b25eb675f08ef6a2a1f9f3f..676e86a4758a56ed48fb856099a0c9d738ad522d 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);