[PR #413] [MERGED] chore: Fix highlight.js issue with Next.js static build #489

Closed
opened 2026-02-15 20:15:01 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/413
Author: @leehuwuj
Created: 11/4/2024
Status: Merged
Merged: 11/4/2024
Merged by: @marcusschiesser

Base: mainHead: chore/fix-highlightjs-next


📝 Commits (2)

📊 Changes

2 files changed (+7 additions, -1 deletions)

View changed files

.changeset/stupid-cougars-raise.md (+5 -0)
📝 templates/types/streaming/nextjs/next.config.json (+2 -1)

📄 Description

Summary by CodeRabbit

  • Bug Fixes

    • Resolved rendering issues with highlight.js in Next.js static builds, improving compatibility and performance.
  • New Features

    • Updated Next.js configuration to include the transpilePackages property for highlight.js, enhancing package processing during builds.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/413 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 11/4/2024 **Status:** ✅ Merged **Merged:** 11/4/2024 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `chore/fix-highlightjs-next` --- ### 📝 Commits (2) - [`929c996`](https://github.com/run-llama/create-llama/commit/929c996343c0ca63407dad7b14626669e18432e8) add transpilePackages config - [`d476444`](https://github.com/run-llama/create-llama/commit/d476444861589677c8f8b2616237fa1470895db8) add changeset ### 📊 Changes **2 files changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/stupid-cougars-raise.md` (+5 -0) 📝 `templates/types/streaming/nextjs/next.config.json` (+2 -1) </details> ### 📄 Description <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Resolved rendering issues with highlight.js in Next.js static builds, improving compatibility and performance. - **New Features** - Updated Next.js configuration to include the `transpilePackages` property for highlight.js, enhancing package processing during builds. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:01 -05:00
yindo closed this issue 2026-02-15 20:15:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#489