Closed danielroe closed 1 year ago
@vue/compiler-sfc is designed to be used on SFCs and not jsx/js components, but there's no test in this module to skip them.
@vue/compiler-sfc
import { parse } from '@vue/compiler-sfc' parse('export default { /* <script setup> */ render() { return null } }') // throws an error
@vue/compiler-sfc
is designed to be used on SFCs and not jsx/js components, but there's no test in this module to skip them.