-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitattributes
More file actions
16 lines (15 loc) · 989 Bytes
/
Copy path.gitattributes
File metadata and controls
16 lines (15 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# The DevTools UI bundle, embedded as base64 by `bun run build:ui`.
# Marked generated so reviews collapse it and diffs stay readable; the
# file is committed on purpose (see scripts/build-devtools-ui.mjs) so
# typecheck, tests and smoke runs work straight from a fresh clone.
# `eol=lf` matters as much as the rest: the build writes LF, so without
# it a CRLF checkout reports the file as modified after every build —
# permanent noise in `git status` for every Windows contributor.
src/devtools/generated/uiAssets.ts linguist-generated -diff text eol=lf
# The DevTools UI sources are bundled into the generated module above
# and fingerprinted by its `source-hash`, so their bytes must not depend
# on a checkout's line-ending conversion — otherwise the same commit
# hashes differently on Windows than on Linux and the freshness check
# fails for half the contributors. The build normalises what it reads
# as well; this is the other half of that pair.
devtools-ui/** text eol=lf