diff --git a/.changeset/stupid-cougars-raise.md b/.changeset/stupid-cougars-raise.md new file mode 100644 index 000000000..158195c7e --- /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 74df9bb1e..da1622405 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"] }