@trifle/trifle-hub 1.0.112 → 1.0.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -29
- package/dist/index-TsbPtoJD.js +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -12,35 +12,6 @@ npm install @trifle/trifle-hub
|
|
|
12
12
|
yarn add @trifle/trifle-hub
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
## Build Configuration
|
|
16
|
-
|
|
17
|
-
To optimize bundle size, configure your Vite build to externalize peer dependencies. Add this to your `vite.config.js`:
|
|
18
|
-
|
|
19
|
-
```js
|
|
20
|
-
import { defineConfig } from 'vite'
|
|
21
|
-
import vue from '@vitejs/plugin-vue'
|
|
22
|
-
|
|
23
|
-
export default defineConfig({
|
|
24
|
-
plugins: [vue()],
|
|
25
|
-
build: {
|
|
26
|
-
rollupOptions: {
|
|
27
|
-
external: [
|
|
28
|
-
'vue',
|
|
29
|
-
'vue-router',
|
|
30
|
-
'@wagmi/core',
|
|
31
|
-
'@wagmi/vue',
|
|
32
|
-
'viem',
|
|
33
|
-
/^viem\//, // Externalize all viem subpath exports
|
|
34
|
-
'@farcaster/miniapp-sdk',
|
|
35
|
-
'@farcaster/miniapp-wagmi-connector',
|
|
36
|
-
'pinia',
|
|
37
|
-
'three'
|
|
38
|
-
]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
})
|
|
42
|
-
```
|
|
43
|
-
|
|
44
15
|
This prevents your bundler from including peer dependencies in your build, reducing bundle size and avoiding version conflicts.
|
|
45
16
|
|
|
46
17
|
## Configuration and Setup
|
package/dist/index-TsbPtoJD.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trifle/trifle-hub",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.116",
|
|
4
4
|
"description": "Vue component library for Trifle Hub",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -38,6 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@farcaster/auth-client": "^0.6.0",
|
|
41
|
+
"@farcaster/miniapp-sdk": "^0.2.0",
|
|
42
|
+
"@farcaster/miniapp-wagmi-connector": "^1.0.0",
|
|
41
43
|
"@reown/appkit": "^1.7.8",
|
|
42
44
|
"@reown/appkit-adapter-wagmi": "^1.7.8",
|
|
43
45
|
"@reown/appkit-siwe": "^1.7.8",
|