Commit 55cdfdc
fix(@ngtools/webpack): always strip BOM when reading files
This is to align with the tsc readFile logic https://github.com/microsoft/TypeScript/blob/9da05243ff7ba9a2776d5a52118d680348b1454d/src/compiler/sys.ts#L10671 parent 91ec0e1 commit 55cdfdc
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | | - | |
| 152 | + | |
152 | 153 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 154 | + | |
156 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
0 commit comments