10000 [3.0.0] Pug template hangs · Issue #5458 · vuejs/language-tools · GitHub
[go: up one dir, main page]

Skip to content
[3.0.0] Pug template hangs #5458
Closed
Closed
@richardsimko

Description

@richardsimko

Vue - Official extension or vue-tsc version

3.0.0

VSCode version

1.96.2

Vue version

3.5.17

TypeScript version

5.8.3

System Info

Not relevant

package.json dependencies

{
  "dependencies": {
    "@vue/language-plugin-pug": "^3.0.0",
    "@vue/tsconfig": "^0.7.0",
    "pug": "^3.0.3",
    "typescript": "^5.8.3",
    "vue": "^3.5.17",
    "vue-tsc": "^3.0.0"
  },
  "scripts": {
    "build": "vue-tsc --noEmit"
  }
}

Steps to reproduce

  1. Try to build a project with the config from the docs (npm run build in the example repo)
"vueCompilerOptions": {
    "plugins": ["@vue/language-plugin-pug"]
  }
  1. Observe vue-tsc hanging
  2. Remove vueCompilerOptions
  3. Observe build finishing correctly but no type check in the Pug template

What is expected?

Type check and a build that finishes

What is actually happening?

The build hangs with the option enabled, type check is not available if the option is removed.

Link to minimal reproduction

https://github.com/richardsimko/vue-pug-bug

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    good reproduction ✨This issue provides a good reproduction, we will be able to investigate it first🔨 p3-minor-bug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0