Skip to content

Commit

Permalink
fix(pat-syntax-highlight): Depend on highlight.js <11.
Browse files Browse the repository at this point in the history
highlight.js version 11 does not allow dynamic imports of languages and
styles with webpack due to an exports field in package.json.

See: highlightjs/highlight.js#3634
  • Loading branch information
thet committed Oct 11, 2022
1 parent 85212ba commit 0f00d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@stomp/stompjs": "^6.1.2",
"dompurify": "^2.4.0",
"google-code-prettify": "^1.0.5",
"highlight.js": "^11.6.0",
"highlight.js": "<11",
"imagesloaded": "^4.1.4",
"intersection-observer": "^0.12.2",
"jquery": "^3.6.1",
Expand Down

0 comments on commit 0f00d8c

Please sign in to comment.