Skip to content

Commit 9c7670b

Browse files
committed
remove unused packages/explanations
1 parent 4ddce32 commit 9c7670b

File tree

4 files changed

+17
-430
lines changed

4 files changed

+17
-430
lines changed

.preview/preview.static/astro.config.mjs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ import vue from '@astrojs/vue'
44
import svelte from '@astrojs/svelte'
55
import tailwind from '@astrojs/tailwind'
66
import { config } from 'dotenv'
7-
import { nodePolyfills } from 'vite-plugin-node-polyfills'
87

98
config({ path: './.env' })
109

1110
export default defineConfig({
1211
integrations: [clubs(), vue(), svelte(), tailwind()],
13-
vite: {
14-
plugins: [nodePolyfills()],
15-
},
1612
})

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
11
# Clubs Plugin for web3auth
22

33
Clubs plugin for integrating [web3auth](https://web3auth.io/) as a wallet provider.
4-
5-
## Required change for your `astro.config.js`
6-
7-
In order for vite to build web3auth npm package correctly, Astro needs to load [vite-plugin-node-polyfills](https://www.npmjs.com/package/vite-plugin-node-polyfills) as follows.
8-
9-
```js
10-
import { nodePolyfills } from 'vite-plugin-node-polyfills'
11-
12-
export default defineConfig({
13-
vite: {
14-
plugins: [nodePolyfills()],
15-
},
16-
})
17-
```

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
"svelte-check": "^3.6.0",
8787
"tailwindcss": "3.3.5",
8888
"typescript": "5.2.2",
89-
"vite-plugin-node-polyfills": "^0.16.0",
9089
"vue": "3.3.8",
9190
"vue-tsc": "^1.8.22"
9291
},

0 commit comments

Comments
 (0)