Skip to content

Commit 1fe21f8

Browse files
authored
chore: Fix highlight.js issue with Next.js static build (#413)
1 parent b9570b2 commit 1fe21f8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/stupid-cougars-raise.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-llama": patch
3+
---
4+
5+
Fix the highlight.js issue with the Next.js static build

templates/types/streaming/nextjs/next.config.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
"app/**/*"
1212
]
1313
}
14-
}
14+
},
15+
"transpilePackages": ["highlight.js"]
1516
}

0 commit comments

Comments
 (0)