( files: Record<string, string>, matcher: FileMatcher, options?: FindFileOptions, )
| 296 | * @throws {Error} When no matching file is found |
| 297 | */ |
| 298 | export const getFileContent = ( |
| 299 | files: Record<string, string>, |
| 300 | matcher: FileMatcher, |
| 301 | options?: FindFileOptions, |
| 302 | ): string => files[findFile(files, matcher, options)]; |
| 303 | |
| 304 | export const enableDebugMode = () => { |
| 305 | process.env.DEBUG = 'rsbuild'; |
searching dependent graphs…