From 9cccdaa0935ca664c8a709a89ebd1f2216565546 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 18 Dec 2020 16:05:46 -0500 Subject: [PATCH] fix: avoid self referencing type in plugin-vue --- packages/plugin-vue/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-vue/src/index.ts b/packages/plugin-vue/src/index.ts index ccfbc96a84d002..341be8a5487e0b 100644 --- a/packages/plugin-vue/src/index.ts +++ b/packages/plugin-vue/src/index.ts @@ -165,4 +165,4 @@ export default function vuePlugin(rawOptions: Options = {}): Plugin { // overwrite for cjs require('...')() usage module.exports = vuePlugin -vuePlugin.default = vuePlugin +vuePlugin['default'] = vuePlugin