Skip to content

Commit

Permalink
chore(app-harmony): 显示编译器版本
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Feb 8, 2025
1 parent dbc82dd commit e0095f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vite-plugin-uni/src/cli/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ export function initEnv(
if (
process.env.UNI_PLATFORM === 'app' ||
process.env.UNI_PLATFORM === 'web' ||
process.env.UNI_PLATFORM === 'h5'
process.env.UNI_PLATFORM === 'h5' ||
process.env.UNI_PLATFORM === 'app-harmony'
) {
console.log(
M['app.compiler.version'].replace(
Expand Down

0 comments on commit e0095f4

Please sign in to comment.