chore(troika): install troika utils

This commit is contained in:
shafin-r
2026-03-12 19:35:58 +06:00
parent d24ab8f9cf
commit 25cfd2383b
3 changed files with 16 additions and 2 deletions

View File

@ -35,6 +35,8 @@
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18",
"three": "^0.183.2",
"troika-three-text": "^0.52.4",
"troika-worker-utils": "^0.52.0",
"vaul": "^1.1.2",
"zustand": "^5.0.9"
},

6
pnpm-lock.yaml generated
View File

@ -83,6 +83,12 @@ importers:
three:
specifier: ^0.183.2
version: 0.183.2
troika-three-text:
specifier: ^0.52.4
version: 0.52.4(three@0.183.2)
troika-worker-utils:
specifier: ^0.52.0
version: 0.52.0
vaul:
specifier: ^1.1.2
version: 1.1.2(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)

View File

@ -11,7 +11,13 @@ export default defineConfig({
"@": path.resolve(__dirname, "./src"),
},
},
esbuild: {
keepNames: true,
build: {
rollupOptions: {
output: {
manualChunks: {
troika: ["troika-three-text", "troika-worker-utils"],
},
},
},
},
});