Skip to content

Commit

Permalink
fix: build脚本遗漏了鸿蒙x上的独立har包
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Jan 6, 2025
1 parent 91aa42e commit f01d76c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ async function postBuildArkTS (isUniAppX = false) {
fs.outputJSON(extApiExportJsonPath, extApiExportWithHar, { spaces: 2 })
}

async function buildArkTS (target, buildJson, isX) {
async function buildArkTS (target, buildJson) {
const projectDir = path.resolve(__dirname, '../packages', target)
const { bundleArkTS } = require('../packages/uts/dist')
const start = Date.now()
Expand Down Expand Up @@ -426,7 +426,8 @@ async function buildArkTS (target, buildJson, isX) {
if (target !== 'uni-app-harmony') {
return
}
await postBuildArkTS(isX)
await postBuildArkTS(true)
await postBuildArkTS(false)
}

async function sleep (ms) {
Expand Down

0 comments on commit f01d76c

Please sign in to comment.