diff --git a/.changeset/stupid-cougars-raise.md b/.changeset/stupid-cougars-raise.md
new file mode 100644
index 0000000000000000000000000000000000000000..158195c7e3d0c78db9d154a6fbd44ec05f583e78
--- /dev/null
+++ b/.changeset/stupid-cougars-raise.md
@@ -0,0 +1,5 @@
+---
+"create-llama": patch
+---
+
+Fix the highlight.js issue with the Next.js static build
diff --git a/templates/types/streaming/nextjs/next.config.json b/templates/types/streaming/nextjs/next.config.json
index 74df9bb1ec671c512b0d56147169fb83453cfcef..da1622405ebb3794622f4ccd7f14b77e63837b03 100644
--- a/templates/types/streaming/nextjs/next.config.json
+++ b/templates/types/streaming/nextjs/next.config.json
@@ -11,5 +11,6 @@
         "app/**/*"
       ]
     }
-  }
+  },
+  "transpilePackages": ["highlight.js"]
 }