do-functions

CLI

Command line interface for building packages to deploy.

The CLI tool is used to configure and manage the build process for your project. It accepts various command line arguments to customize the behavior of the tool.

Usage

$ do-functions [options] [srcDir] [outDir]

Options

Examples

  1. Build using default settings:
    $ do-functions
    
  2. Build with custom source and output directories:
    $ do-functions --srcDir path/to/source --outDir path/to/output
    
  3. Specify a custom project YAML configuration file:
    $ do-functions --project-yml path/to/project.yml
    
  4. Specify a custom environment configuration file:
    $ do-functions --env path/to/.env
    
  5. Choose a specific bundler for the build process (e.g., rollup):
    $ do-functions --bundler rollup
    

Notes

Bundlers

This is based on the example project in the GitHub repo.

  Rollup esbuild
Build Time 2.438s 41.984ms
Output Size 29251 bytes 32477 bytes

To summarise these results: