Files
cmux/.gitattributes
Lawrence ChenandClaude Opus 4.8 9f0ff9514f Mark markdown-viewer bundles as vendored/generated for Linguist (#5212)
Resources/markdown-viewer/ carries ~25MB of vendored third-party runtime JS
(mermaid, vega, highlight.js, the Pierre/Shiki diff renderer with per-language
grammars + WASM) plus the generated diff-viewer React app build. That now
outweighs the Swift source, so GitHub Linguist reported the repo as mostly
JavaScript. Mark the directory linguist-vendored (and the built app
linguist-generated) so the language stats reflect the actual source. No runtime
or build change.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-02 05:41:04 -07:00

9 lines
476 B
Plaintext

Resources/markdown-viewer/diff-viewer/**/*.mjs -whitespace
# Resources/markdown-viewer holds vendored third-party runtime bundles (mermaid,
# vega, highlight.js, the Pierre/Shiki diff renderer + per-language grammars and
# WASM) plus the generated diff-viewer React app build. They are not authored
# source, so exclude them from GitHub Linguist's language stats.
Resources/markdown-viewer/** linguist-vendored
Resources/markdown-viewer/diff-viewer-app/** linguist-generated