import fs from 'node:fs' import path from 'node:path' import { fileURLToPath } from 'node:url' const __dirname = path.dirname(fileURLToPath(import.meta.url)) const root = path.resolve(__dirname, '..') const wv = path.resolve(root, '..', 'tyc-webview-v2', 'src', 'views') function extractTemplate(vueSrc) { const m = vueSrc.match(/