The result for a file with nothing to compile, whose output is its original text.
(s: MagicString)
| 162 | |
| 163 | /** The result for a file with nothing to compile, whose output is its original text. */ |
| 164 | function unprocessedFile(s: MagicString): ProcessedFile { |
| 165 | return { |
| 166 | magicString: s, |
| 167 | generateSourceMap: (options = {}) => |
| 168 | s.generateMap({ |
| 169 | ...options, |
| 170 | // Disable high resolution source maps, because they use a lot of memory. |
| 171 | hires: 'boundary', |
| 172 | }), |
| 173 | }; |
| 174 | } |
| 175 | |
| 176 | export function buildTcbTargets( |
| 177 | filePath: string, |
no test coverage detected