Roo-Code/apps/web-roo-code
Roo Code 63d8d63f48 fix(blog): avoid barrel import in client component to fix build
The blog-analytics.tsx client component was importing from the @/lib/blog
barrel export, which transitively included content.ts that uses the Node.js
fs module. This caused the build to fail with "Module not found: Cannot
resolve fs" error.

Changed imports to use direct file paths:
- Import BlogPost type from @/lib/blog/types
- Import analytics functions from @/lib/blog/analytics

This avoids pulling content.ts into the client bundle.
2026-01-28 01:02:50 +00:00
..
content/blog Merge branch 'feature/MKT-73-first-blog-post' into feature/MKT-68-blog-index-page 2026-01-27 19:38:52 +00:00
public web: Product pages (#9865) 2025-12-05 14:01:41 -05:00
src fix(blog): avoid barrel import in client component to fix build 2026-01-28 01:02:50 +00:00
.env.example feat: migrate PostHog client to ph.roocode.com (#9402) 2025-11-19 14:44:22 -05:00
.gitignore feat: implement sitemap generation in TypeScript and remove XML file (#6206) 2025-08-14 11:53:16 -04:00
.npmrc feat: implement sitemap generation in TypeScript and remove XML file (#6206) 2025-08-14 11:53:16 -04:00
components.json Bring back #4128 (#4292) 2025-06-03 14:03:19 -07:00
eslint.config.mjs Bring back #4128 (#4292) 2025-06-03 14:03:19 -07:00
next-sitemap.config.cjs fix: add /evals page to sitemap generation (#7102) 2025-08-14 12:48:32 -04:00
next.config.ts web: Product pages (#9865) 2025-12-05 14:01:41 -05:00
package.json feat(blog): add markdown content pipeline with PT scheduling 2026-01-27 19:32:33 +00:00
postcss.config.cjs Bring back #4128 (#4292) 2025-06-03 14:03:19 -07:00
tailwind.config.ts Bring back #4128 (#4292) 2025-06-03 14:03:19 -07:00
tsconfig.json Bring back #4128 (#4292) 2025-06-03 14:03:19 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00