(context: unknown, id: string)
| 646 | // the constants' module, or a runtime module with each read of one written |
| 647 | // as what it is, so the bundle needs no minifier to fold them |
| 648 | const loadIssueFeatures = async (context: unknown, id: string) => { |
| 649 | const issues = await issueFeaturesOf(context) |
| 650 | if (!issues) return |
| 651 | if (issueFeaturesFile.test(id)) return writeIssueFeatures(issues) |
| 652 | const file = id.split("?")[0] |
| 653 | const code = readFile(file) |
| 654 | return code === undefined ? undefined : ( |
| 655 | writeIssueFeaturesInto(file, code, issues) |
| 656 | ) |
| 657 | } |
| 658 | // Vite's transforming plugins ahead of this one, which a new config module names |
| 659 | let transformersAhead: string[] = [] |
| 660 | // each plugin whose transform runs after this one's, which a read one adds names |
no test coverage detected