carry node_modules dependency.

Signed-off-by: lihong <lihong67@huawei.com>
Change-Id: I17ca5386f126c2cfca4a18fa1b47466d939f8971
This commit is contained in:
lihong 2023-06-25 15:27:56 +08:00
parent afa8b40f17
commit 330a37807b
2 changed files with 3 additions and 9 deletions

View File

@ -82,6 +82,7 @@ ace_loader_sources = [
"ace-loader/babel.config.js",
"ace-loader/index.js",
"ace-loader/main.product.js",
"ace-loader/node_modules",
"ace-loader/npm-install.js",
"ace-loader/package-lock.json",
"ace-loader/package.json",
@ -136,16 +137,9 @@ ohos_copy("ace_loader_ark_hap") {
":ace_loader",
":ace_loader_ark",
":build_ace_loader_library",
"//developtools/ace_ets2bundle:common_api_ark",
"//developtools/ace_ets2bundle:ets_loader_ark_hap",
]
sources = [ ace_loader_lib_dir ]
outputs = [ ace_loader_ark_dir + "/lib" ]
license_file = "//third_party/parse5/LICENSE"
}
ohos_copy("ace_loader_node_modules") {
deps = [ ":ace_loader_ark_hap" ]
sources = [ "//developtools/ace_js2bundle/ace-loader/node_modules" ]
outputs = [ ace_loader_ark_dir + "/node_modules" ]
license_file = "//third_party/parse5/LICENSE"
}

View File

@ -27,7 +27,7 @@
"//developtools/ace_js2bundle:ace_loader",
"//developtools/ace_js2bundle:ace_loader_library",
"//developtools/ace_js2bundle:previewer_copy",
"//developtools/ace_js2bundle:ace_loader_node_modules"
"//developtools/ace_js2bundle:ace_loader_ark_hap"
]
}
}