Skip to content

Commit

Permalink
fix(harmony): build harmony remove dist-x
Browse files Browse the repository at this point in the history
  • Loading branch information
StrivingRabbit committed Jan 7, 2025
1 parent a53140d commit 0087349
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ async function build (target) {
await fs.remove(`${pkgDir}/dist`)
}
// }
if (['uni-app-harmony'].includes(target)) {
await fs.remove(`${pkgDir}/dist-x`)
}

const env = devOnly ? 'development' : 'production'

Expand Down

0 comments on commit 0087349

Please sign in to comment.