JavaScript: If you are using JavaScript be sure to check out the JS-specific details and browser sections below. The form -foo is used for enabling boolean flags such as -minify, the form -foo=bar is used for flags that have a single value and are only specified once such as -platform=, and the form -foo:bar is used for flags that have multiple values and can be re-specified multiple times such as -external. Some specifics for each language:ĬLI: If you are using the command-line API, it may be helpful to know that the flags come in one of three forms: -foo, -foo=bar, or -foo:bar. You can switch between languages using the CLI, JS, and Go tabs in the top-right corner of each code example. The concepts and parameters are largely identical between the three languages so they will be presented together here instead of having separate documentation for each language. The API can be accessed in one of three languages: on the command line, in JavaScript, and in Go.