projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efdf453
)
Force `LF` line endings for generated JavaScript (#4285)
author
MysteryCode
<mutec@users.noreply.github.com>
Mon, 14 Jun 2021 08:30:55 +0000
(10:30 +0200)
committer
GitHub
<noreply@github.com>
Mon, 14 Jun 2021 08:30:55 +0000
(10:30 +0200)
The `newLine` configuration option in tsconfig is platform specific. Explicitly set it to ensure consistent behavior.
[Tim: Rephrased the commit message]
tsconfig.json
patch
|
blob
|
blame
|
history
diff --git
a/tsconfig.json
b/tsconfig.json
index a40399002204665e4736ba35591859f4d8e05e5a..1972ef3e251d900db3dbc1bc828126e57465ed05 100644
(file)
--- a/
tsconfig.json
+++ b/
tsconfig.json
@@
-18,6
+18,7
@@
"esModuleInterop": true,
"noImplicitThis": true,
"strictBindCallApply": true,
- "importHelpers": true
+ "importHelpers": true,
+ "newLine": "lf"
}
}