mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #17226] issue: The bundled contains two identical copies of highlight.js, resulting in increased package size. #56879
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ShirasawaSama on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17226
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
dev
Ollama Version (if applicable)
No response
Operating System
mac
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
highlight.js exists only once in the packaged product.
Actual Behavior
The bundled output contains two identical copies of highlight.js, resulting in increased package size.
Steps to Reproduce
just run
npm run buildLogs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Sep 5, 2025):
Most likely one is for codemirror and another is directly imported for static code highlight. PR welcome here!
@rgaricano commented on GitHub (Sep 6, 2025):
Proposal PR: https://github.com/open-webui/open-webui/pull/17250
@tjbck commented on GitHub (Sep 17, 2025):
#17476
@ShirasawaSama commented on GitHub (Sep 22, 2025):
#17645