mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
14 lines
359 B
JavaScript
14 lines
359 B
JavaScript
import { bundledLanguages } from 'shiki';
|
|
import { r as runAsWorker } from './chunk-C-d2RJOW.js';
|
|
import 'node:crypto';
|
|
import 'node:fs';
|
|
import 'node:module';
|
|
import 'node:path';
|
|
import 'node:url';
|
|
import 'node:worker_threads';
|
|
|
|
async function resolveLang(lang) {
|
|
return bundledLanguages[lang]?.().then((m) => m.default) || [];
|
|
}
|
|
runAsWorker(resolveLang);
|