Thanks to visit codestin.com
Credit goes to github.com

Skip to content

adding functions to comments in style tag throws [plugin:unctx:transform] error #26057

@JoniLieh

Description

@JoniLieh

Environment


  • Operating System: Linux
  • Node Version: v18.18.0
  • Nuxt Version: 3.10.3
  • CLI Version: 3.10.1
  • Nitro Version: 2.9.1
  • Package Manager: [email protected]
  • Builder: -
  • User Config: devtools
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-d1fqpp?file=app.vue

add to a clean app.vue

<style>
/* definePageMeta( */
.text-center {
  text-align: center;
}
</style>

Describe the bug

When adding functions to comments, the functions get parsed instead of ignored and an error is thrown. [plugin:unctx:transform] Unexpected token (3:0)
image

Additional context

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions