Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Expand package imports and update build outputs

Richie McIlroyce3a52ced28d
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 254130a91..0ab888283 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -41,10 +41,28 @@ const nextConfig = {
optimizePackageImports: [
"@cap/ui",
"@cap/utils",
- // "@cap/web-api-contract",
- // "@cap/web-domain",
- // "@cap/web-backend",
+ "@cap/web-api-contract",
+ "@cap/web-domain",
+ "@cap/web-backend",
"@cap/database",
+ "lucide-react",
+ "framer-motion",
+ "motion",
+ "@fortawesome/free-solid-svg-icons",
+ "@fortawesome/free-brands-svg-icons",
+ "effect",
+ "@effect/platform",
+ "@effect/rpc",
+ "@effect/sql-mysql2",
+ "@tanstack/react-query",
+ "recharts",
+ "@radix-ui/react-dialog",
+ "@radix-ui/react-dropdown-menu",
+ "@radix-ui/react-popover",
+ "@radix-ui/react-select",
+ "@radix-ui/react-slider",
+ "@radix-ui/react-tooltip",
+ "date-fns",
],
},
images: {
diff --git a/turbo.json b/turbo.json
index 8570cc476..deeb96a33 100644
--- a/turbo.json
+++ b/turbo.json
@@ -6,17 +6,17 @@
"build": {
"inputs": ["**/*.ts", "**/*.tsx", "!src-tauri/**", "!node_modules/**"],
"dependsOn": ["^build"],
- "outputs": [".next/**", "!.next/cache/**"]
+ "outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"build:web:docker": {
"inputs": ["**/*.ts", "**/*.tsx", "!src-tauri/**", "!node_modules/**"],
"dependsOn": ["^build"],
- "outputs": [".next/**", "!.next/cache/**"]
+ "outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"build:web": {
"inputs": ["**/*.ts", "**/*.tsx", "!src-tauri/**", "!node_modules/**"],
"dependsOn": ["^build"],
- "outputs": [".next/**", "!.next/cache/**"]
+ "outputs": [".next/**", "!.next/cache/**", "dist/**"]
},
"lint": {
"cache": false