UNPKG

@visulima/packem

Version:

A fast and modern bundler for Node.js and TypeScript.

22 lines (21 loc) 668 B
import type { Cli } from "@visulima/cerebro"; /** * Creates and registers the build command with the CLI. * Handles various build modes, environment variables, and build configurations. * @param cli CLI instance to register the command with * @example * ```typescript * // Usage from command line: * // Build for production: * // packem build --production * * // Watch mode with development environment: * // packem build --watch --development * * // With custom environment variables: * // packem build --env.API_URL=http://api.example.com * ``` * @internal */ declare const createBuildCommand: (cli: Cli) => void; export default createBuildCommand;