Skip to content

fix(bundler): make frontmatter export optional in TSX pages - #76

Merged
LeeCheneler merged 1 commit into
mainfrom
fix/optional-frontmatter-and-coverage
Dec 21, 2025
Merged

LeeCheneler merged 1 commit into
mainfrom
fix/optional-frontmatter-and-coverage

Conversation

@LeeCheneler

Copy link
Copy Markdown
Contributor

Summary

  • Use namespace import instead of named import for frontmatter in SSR entry generation
  • TSX pages no longer require a frontmatter export - it defaults to {} if not present
  • Exclude Library/Caches from coverage reports to filter out npm dependencies

Test plan

  • Verified SSR entry generates correct code with namespace import
  • Type check passes
  • Pre-commit hooks pass

🤖 Generated with Claude Code

- Use namespace import instead of named import for frontmatter
- Allows TSX pages without frontmatter export to build successfully
- Add Library/Caches exclusion to coverage reports
- Bump version to 0.7.4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@LeeCheneler
LeeCheneler enabled auto-merge (squash) December 21, 2025 09:31
@LeeCheneler
LeeCheneler merged commit 4151161 into main Dec 21, 2025
2 checks passed
@LeeCheneler
LeeCheneler deleted the fix/optional-frontmatter-and-coverage branch December 21, 2025 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant