esbuildCompile = (content, lang) => {
  let result = '';
  if (['jsx', 'tsx'].includes(lang)) {
    result += `${codeSnippetH}\n`;
    result += `${codeSnippetVueJsxCompat}\n`;
  }
  const {code} = esbuild.transformSync(content, {
    loader: lang,
    jsxFactory: 'jsx',
    jsxFragment: 'Fragment',
  });
  result += `\n${code.trim()}\n`;
  return result.trim();
}
@param {string} content
@param {'jsx' | 'ts' | 'tsx'} lang