mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-20 02:33:32 -04:00
Signed-off-by: yangbo <1442420648@qq.com> Change-Id: I7118bd5d93a7c267471bbb9ede3fca866b661020
This commit is contained in:
@@ -234,7 +234,7 @@ function readManifest(manifestFilePath) {
|
||||
}
|
||||
|
||||
function readModulePages(moduleJson) {
|
||||
if (moduleJson.module.uiSyntax === 'hml' && moduleJson.module.pages) {
|
||||
if ((moduleJson.module.uiSyntax === 'hml' || moduleJson.module.uiSyntax === 'js') && moduleJson.module.pages) {
|
||||
const modulePagePath = path.resolve(process.env.aceProfilePath,
|
||||
`${moduleJson.module.pages.replace(/\$profile\:/, '')}.json`);
|
||||
if (fs.existsSync(modulePagePath)) {
|
||||
|
||||
Reference in New Issue
Block a user