(modPath, exportName)
| 89 | } |
| 90 | |
| 91 | async function loadAliases(modPath, exportName) { |
| 92 | if (!fs.existsSync(modPath)) { |
| 93 | return {}; |
| 94 | } |
| 95 | const mod = await import(pathToFileURL(modPath).href); |
| 96 | return mod[exportName] ?? {}; |
| 97 | } |
| 98 | |
| 99 | function buildBaseColorKeysFromSpectrumTokens(tokens) { |
| 100 | const keys = new Set(); |