diff --git a/package.json b/package.json index ebe0f1e..2c36be9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kolirt/vue-web3-auth", - "version": "2.3.3", + "version": "2.3.4", "type": "module", "description": "Web3 authentication for Vue3 apps based on WalletConnect Web3Modal v2", "author": "kolirt", diff --git a/vite.lib.config.ts b/vite.lib.config.ts index 40f12f7..bccacf6 100644 --- a/vite.lib.config.ts +++ b/vite.lib.config.ts @@ -21,12 +21,12 @@ export default defineConfig({ }, emptyOutDir: true, rollupOptions: { - external: [...Object.keys(pkg.dependencies)], + external: Object.keys({ ...pkg.dependencies, ...pkg.devDependencies }), output: { globals: { ...(() => { const obj: Record = {} - Object.keys(pkg.dependencies).forEach((key) => { + Object.keys({ ...pkg.dependencies, ...pkg.devDependencies }).forEach((key) => { obj[key] = key }) return obj