mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-21 06:05:27 -04:00
@@ -139,6 +139,7 @@ ohos_copy("ace_loader_ark_hap") {
|
||||
":ace_loader",
|
||||
":ace_loader_ark",
|
||||
":build_ace_loader_library",
|
||||
"//developtools/ace-ets2bundle:common_api_ark",
|
||||
]
|
||||
sources = [ ace_loader_lib_dir ]
|
||||
outputs = [ ace_loader_ark_dir + "/lib" ]
|
||||
|
||||
@@ -21,6 +21,14 @@ const md5 = require('md5');
|
||||
const red = '\u001b[31m';
|
||||
const reset = '\u001b[39m';
|
||||
const multiResourceBuild = {};
|
||||
const systemModules = [];
|
||||
|
||||
;(function readSystemModules() {
|
||||
const systemModulesPath = path.resolve(__dirname,'../../api');
|
||||
if (fs.existsSync(systemModulesPath)) {
|
||||
systemModules.push(...fs.readdirSync(systemModulesPath));
|
||||
}
|
||||
})();
|
||||
|
||||
function deleteFolderRecursive(url) {
|
||||
let files = [];
|
||||
@@ -216,5 +224,6 @@ module.exports = {
|
||||
checkMultiResourceBuild: checkMultiResourceBuild,
|
||||
multiResourceBuild: multiResourceBuild,
|
||||
readWorkerFile: readWorkerFile,
|
||||
compareCache: compareCache
|
||||
compareCache: compareCache,
|
||||
systemModules: systemModules
|
||||
};
|
||||
Reference in New Issue
Block a user