From 28cc5316f0fbfe22d71676f201f8a2972a46f8d5 Mon Sep 17 00:00:00 2001 From: yangbo <1442420648@qq.com> Date: Tue, 25 Jan 2022 16:06:57 +0800 Subject: [PATCH] yangbo198@huawei.com Signed-off-by: yangbo <1442420648@qq.com> Change-Id: I4656983fc5d51876c20e935400eb1c1a46d1aed1 --- compiler/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main.js b/compiler/main.js index be5e7fd15..570b6c047 100644 --- a/compiler/main.js +++ b/compiler/main.js @@ -115,7 +115,7 @@ function buildManifest(manifest, aceConfigPath) { function getPages(configJson) { const pages = [] const modulePagePath = path.resolve(projectConfig.aceProfilePath, - `${configJson.module.pages.replace(/\@profile\:/, '')}.json`); + `${configJson.module.pages.replace(/\$profile\:/, '')}.json`); if (fs.existsSync(modulePagePath)) { const pagesConfig = JSON.parse(fs.readFileSync(modulePagePath, 'utf-8')); if (pagesConfig && pagesConfig.src) { -- Gitee