In your src/sfcUtils.ts, it supports script setup tag and use it as descriptor.scriptSetup;
However, in the src/runTransformation.ts, it just handles descriptor.script, so <script setup> won't work in the runTransformation.
I think it's weird, because you parsed <script setup> but never use it. So is it a bug?
In your
src/sfcUtils.ts, it supports script setup tag and use it asdescriptor.scriptSetup;However, in the
src/runTransformation.ts, it just handlesdescriptor.script, so <script setup> won't work in the runTransformation.I think it's weird, because you parsed <script setup> but never use it. So is it a bug?