UNPKG

beesbuild

Version:

构建工具链

14 lines (13 loc) 344 B
import { defineBuildConfig } from "@beesbuild/utils"; import { name } from "../../variables.mjs"; function defineConfig(config, options) { try { const find = process.argv.find((value) => value && value.includes(name)); if (find) return config; } catch { } return defineBuildConfig(config, options); } export { defineConfig };