Skip to content

Commit

Permalink
feat(uni-app-x harmony): 调整鸿蒙app-service target
Browse files Browse the repository at this point in the history
  • Loading branch information
Wangyaqi committed Jan 10, 2025
1 parent df550f6 commit ad2ae6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/uni-app-uts/src/plugins/js/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ export function createUniAppJsEnginePlugin(
'chrome87',
'safari14',
]
: process.env.UNI_UTS_PLATFORM === 'app-harmony'
? ['es2022']
: undefined,
rollupOptions: {
input: resolveMainPathOnce(inputDir),
Expand Down

0 comments on commit ad2ae6d

Please sign in to comment.