mirror of
https://github.com/sern-handler/cli
synced 2026-06-21 07:12:23 +00:00
b
This commit is contained in:
@@ -135,9 +135,12 @@ export async function build(options: Record<string, any>) {
|
||||
'export const __commands = new Map();\n ' +
|
||||
commandNames.map((_, i) => `__commands.set(m${i}.meta.id, m${i});`).join("\n");
|
||||
const startFile =
|
||||
'const __commands = new Map();\n' +
|
||||
commandNames.map((_, i) => `__commands.set(m${i}.meta.id, m${i});`).join("\n");
|
||||
commandsImports.join('\n') + '\n' +
|
||||
commandMapTemplate + "\n"
|
||||
|
||||
|
||||
|
||||
console.log(entryPoints)
|
||||
console.log(commandsImports)
|
||||
|
||||
Reference in New Issue
Block a user