Skip to content

Conversation

irnnr
Copy link
Contributor

@irnnr irnnr commented Jul 30, 2025

πŸ”— Linked issue

resolves #1371

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Adds the missing import for getCurrentInstance() from vue in render.ts. Fixes the ReferenceError in build output.

Build output before

import { reactive, h as h$1, Suspense, nextTick, unref, isReadonly, getCurrentInstance as getCurrentInstance$1, defineComponent as defineComponent$1, effectScope } from 'vue';

Build output after

import { reactive, h as h$1, Suspense, nextTick, unref, isReadonly, getCurrentInstance, defineComponent as defineComponent$1, effectScope } from 'vue';

@irnnr irnnr requested a review from danielroe as a code owner July 30, 2025 16:48
Copy link

pkg-pr-new bot commented Jul 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/test-utils@1372

commit: 9f0b775

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@danielroe danielroe merged commit efda97f into nuxt:main Jul 30, 2025
6 checks passed
@github-actions github-actions bot mentioned this pull request Jul 29, 2025
@github-actions github-actions bot mentioned this pull request Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

runtime-utils build missing getCurrentInstance in renderSuspended()
2 participants