diff --git a/compiler/main.js b/compiler/main.js index 47f1f33..ea017ba 100644 --- a/compiler/main.js +++ b/compiler/main.js @@ -387,6 +387,7 @@ function checkAppResourcePath(appResourcePath, config) { config.cache.buildDependencies.config.push(appResourcePath); } if (!projectConfig.xtsMode) { + const appResourcePathSavePath = path.resolve(projectConfig.cachePath, 'resource_path.txt'); saveAppResourcePath(appResourcePath, appResourcePathSavePath); if (fs.existsSync(appResourcePathSavePath) && config.cache) { config.cache.buildDependencies.config.push(appResourcePathSavePath);