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