From 0a95488b265569f0a2347c82ba25d9681a2eeb95 Mon Sep 17 00:00:00 2001 From: richex-cn Date: Sun, 22 May 2022 07:53:32 +0800 Subject: [PATCH] reduce bundle size --- src/v-click-outside-x.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/v-click-outside-x.js b/src/v-click-outside-x.js index 292024b..3bdc9e5 100644 --- a/src/v-click-outside-x.js +++ b/src/v-click-outside-x.js @@ -1,6 +1,4 @@ -import pkg from '../package.json'; - -const version = pkg.version +import { version } from '../package.json'; /** * @typedef {import("../types/index.d.ts")} VClickOutsidePlugin