// src/core/index.ts import { MagicString, getTransformResult } from "@vue-macros/common"; import { parse } from "@vue/compiler-dom"; function transformSetupBlock(code, id, lang) { const s = new MagicString(code); const node = parse(code, { // there are no components at SFC parsing level isNativeTag: () => true, // preserve all whitespaces isPreTag: () => true, getTextMode: ({ tag, props }, parent) => { if (!parent && tag !== "template" || //