chore(troika): install troika utils #7

Merged
shafin808s merged 1 commits from web into main 2026-03-12 13:36:26 +00:00
3 changed files with 16 additions and 2 deletions

View File

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

6
pnpm-lock.yaml generated
View File

@ -83,6 +83,12 @@ importers:
three: three:
specifier: ^0.183.2 specifier: ^0.183.2
version: 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: vaul:
specifier: ^1.1.2 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) 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"), "@": path.resolve(__dirname, "./src"),
}, },
}, },
esbuild: { build: {
keepNames: true, rollupOptions: {
output: {
manualChunks: {
troika: ["troika-three-text", "troika-worker-utils"],
},
},
},
}, },
}); });