unplugin-auto-import / unplugin-vue-components regenerate auto-imports.d.ts and components.d.ts with LF on every dev-server start. On Windows with core.autocrlf=true git expects CRLF, so the files showed up as modified after each `pnpm web dev` despite an empty diff. Pin eol=lf in .gitattributes to stop the phantom dirty state for all contributors.
6 lines
289 B
Plaintext
6 lines
289 B
Plaintext
# These declaration files are regenerated by unplugin-auto-import /
|
|
# unplugin-vue-components with LF on every dev-server start. Pin LF so
|
|
# core.autocrlf on Windows doesn't flip them to CRLF and mark them dirty.
|
|
apps/web/auto-imports.d.ts text eol=lf
|
|
apps/web/components.d.ts text eol=lf
|