Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kolirt committed Nov 17, 2024
1 parent f916010 commit 83b922a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions vite.lib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string> = {}
Object.keys(pkg.dependencies).forEach((key) => {
Object.keys({ ...pkg.dependencies, ...pkg.devDependencies }).forEach((key) => {
obj[key] = key
})
return obj
Expand Down

0 comments on commit 83b922a

Please sign in to comment.