const Vue = require('vue')
const VueCompilerSfc = require('@vue/compiler-sfc')

module.exports.h = Vue.h
module.exports.createApp = Vue.createApp
module.exports.resolveComponent = Vue.resolveComponent
module.exports.isVue3 = true
module.exports.Vue2 = function () {}
module.exports.compileTemplate = template => VueCompilerSfc.compileTemplate(template).code

@@ -304,17 +304,18 @@
 plate =%3E
- 
+%0A%09
 VueCompi
@@ -337,23 +337,70 @@
 emplate(
-template
+%7B source: template, filename: '%3CExample%3E.vue', id: '' %7D
 ).code%0A

fix cjs compileTemplate vue3