diff --git a/compiler/src/interop/src/fast_build/ark_compiler/module/module_mode.ts b/compiler/src/interop/src/fast_build/ark_compiler/module/module_mode.ts index b03525a66ca6e6282102951967dd28b99e3d0526..c14b7a173394c8d4c9805d13af6b58953f4b8fd3 100644 --- a/compiler/src/interop/src/fast_build/ark_compiler/module/module_mode.ts +++ b/compiler/src/interop/src/fast_build/ark_compiler/module/module_mode.ts @@ -530,7 +530,8 @@ export class ModuleMode extends CommonMode { let moduleName: string = metaInfo.moduleName; let recordName: string = ''; - let cacheFilePath: string = isArkTSEvolutionFile(filePath, metaInfo) ? originalFilePath : + let cacheFilePath: string = isArkTSEvolutionFile(filePath, metaInfo) ? + genCachePathForBridgeCode(originalFilePath, metaInfo, this.projectConfig.cachePath) : this.genFileCachePath(filePath, this.projectConfig.projectRootPath, this.projectConfig.cachePath, metaInfo); let packageName: string = '';