mirror of
https://gitee.com/openharmony/developtools_ace_js2bundle
synced 2024-11-26 17:10:58 +00:00
carry node_modules dependency. Signed-off-by: lihong <lihong67@huawei.com> Change-Id: I17ca5386f126c2cfca4a18fa1b47466d939f8971
This commit is contained in:
parent
afa8b40f17
commit
330a37807b
10
BUILD.gn
10
BUILD.gn
@ -82,6 +82,7 @@ ace_loader_sources = [
|
|||||||
"ace-loader/babel.config.js",
|
"ace-loader/babel.config.js",
|
||||||
"ace-loader/index.js",
|
"ace-loader/index.js",
|
||||||
"ace-loader/main.product.js",
|
"ace-loader/main.product.js",
|
||||||
|
"ace-loader/node_modules",
|
||||||
"ace-loader/npm-install.js",
|
"ace-loader/npm-install.js",
|
||||||
"ace-loader/package-lock.json",
|
"ace-loader/package-lock.json",
|
||||||
"ace-loader/package.json",
|
"ace-loader/package.json",
|
||||||
@ -136,16 +137,9 @@ ohos_copy("ace_loader_ark_hap") {
|
|||||||
":ace_loader",
|
":ace_loader",
|
||||||
":ace_loader_ark",
|
":ace_loader_ark",
|
||||||
":build_ace_loader_library",
|
":build_ace_loader_library",
|
||||||
"//developtools/ace_ets2bundle:common_api_ark",
|
"//developtools/ace_ets2bundle:ets_loader_ark_hap",
|
||||||
]
|
]
|
||||||
sources = [ ace_loader_lib_dir ]
|
sources = [ ace_loader_lib_dir ]
|
||||||
outputs = [ ace_loader_ark_dir + "/lib" ]
|
outputs = [ ace_loader_ark_dir + "/lib" ]
|
||||||
license_file = "//third_party/parse5/LICENSE"
|
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"
|
|
||||||
}
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"//developtools/ace_js2bundle:ace_loader",
|
"//developtools/ace_js2bundle:ace_loader",
|
||||||
"//developtools/ace_js2bundle:ace_loader_library",
|
"//developtools/ace_js2bundle:ace_loader_library",
|
||||||
"//developtools/ace_js2bundle:previewer_copy",
|
"//developtools/ace_js2bundle:previewer_copy",
|
||||||
"//developtools/ace_js2bundle:ace_loader_node_modules"
|
"//developtools/ace_js2bundle:ace_loader_ark_hap"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user