|
|
@@ -1,4 +1,10 @@
|
|
|
-const Vue = require('vue')
|
|
|
-exports.jsx = Vue.h
|
|
|
-exports.jsxDEV = Vue.h
|
|
|
-exports.Fragment = Vue.Fragment
|
|
|
+const { h, Fragment } = require('vue')
|
|
|
+
|
|
|
+function jsx(type, { children, ...props }) {
|
|
|
+ return h(type, props, children)
|
|
|
+}
|
|
|
+
|
|
|
+exports.jsx = jsx
|
|
|
+exports.jsxs = jsx
|
|
|
+exports.jsxDEV = jsx
|
|
|
+exports.Fragment = Fragment
|