Skip to content

Commit 53962fd

Browse files
committed
Fix line endings for vendored JavaScript and CSS files
Add explicit eol=lf directive in .gitattributes for built/vendored files to prevent line-ending conflicts when rebuilding assets.
1 parent b1d6e46 commit 53962fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
* text=auto
22
*.map text eol=lf
33
**/wwwroot/Scripts/* linguist-vendored
4+
# Force LF line endings for all built/vendored JavaScript and CSS files
5+
**/wwwroot/Scripts/*.js text eol=lf
6+
**/wwwroot/Styles/*.css text eol=lf

0 commit comments

Comments
 (0)