We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeaa48a commit 626e465Copy full SHA for 626e465
packages/plugin-vue-jsx/index.js
@@ -8,7 +8,7 @@ const hash = require('hash-sum')
8
* @param {import('.').Options} options
9
* @returns {import('vite').Plugin}
10
*/
11
-module.exports = function vueJsxPlugin(options = {}) {
+function vueJsxPlugin(options = {}) {
12
let needHmr = false
13
let needSourceMap = true
14
@@ -213,3 +213,6 @@ function isDefineComponentCall(node) {
213
node.callee.name === 'defineComponent'
214
)
215
}
216
+
217
+module.exports = vueJsxPlugin
218
+vueJsxPlugin.default = vueJsxPlugin
0 commit comments