Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/nuxtPublic

Changing exports in files tracked by unimport crashes dev server in certain cases #33468

Assignees
thisisayushverma
@cernymatej

Description

@cernymatej

Environment

  • Operating System:Darwin
  • Node Version:v22.14.0
  • Nuxt Version:4.1.3
  • CLI Version:3.29.3
  • Nitro Version:2.12.7
  • Package Manager:npm@10.9.2
  • Builder:-
  • User Config:compatibilityDate,devtools
  • Runtime Modules:-
  • Build Modules:-

Reproduction

https://stackblitz.com/edit/github-octwj7fv?file=app%2Fapp.vue,app%2Fcomposables%2Fuse-key.ts

Describe the bug

Let's use an auto-imported composable as an example.

exportdefaultfunction(){return'use-key-default'}

if we change it to a named exportwhile the dev server is running

exportfunctionuseKey(){return'use-key-named'}

the server crashes with the following error message

Image

Additional context

No response

Logs

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp