using less, the notes (//) in style will be run
Vue version
3.3.4
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-ndwrnc?file=src%2FApp.vue
Steps to reproduce
<template>
<div>test</div>
</template>
<script lang="ts" setup>
const height = 123
</script>
<style lang="less" scoped>
div {
// height: v-bind(height);
}
</style>
What is expected?
--7a7a37b1-height:123;
should not exist in style
What is actually happening?
style has --7a7a37b1-height:123;
System Info
No response
Any additional comments?
No response
fixed via https://github.com/vuejs/core/pull/5409 It has not been released yet.