支持buddy命令

This commit is contained in:
lijiguo
2026-04-01 17:55:35 +08:00
parent 03cff1b749
commit c57ad656ad
4 changed files with 269 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bun
// Runtime polyfill for bun:bundle (build-time macros)
const feature = (_name: string) => false;
const feature = (name: string) => name === "BUDDY";
if (typeof globalThis.MACRO === "undefined") {
(globalThis as any).MACRO = {
VERSION: "2.1.888",