• typedef {Object}  

The steal-build options object's values.



  1. steal {Object}

    Specifies the config argument in build. The main option must be specified. Typically, configPath is also specified, as that is used to set baseURL. Any Steal configuration can be specified; however, most other build configuration values are specified by buildConfig, in the config file.

  2. buildOptions {Object}

    Specifies the options argument to


Note: The steal-build Grunt task calls internally. This page documents the specifics of the Grunt task. Read's documentation for how to use the build in various workflows and detailed information on the steal and options arguments.

"steal-build" is registered as a Grunt multi-build task. Specify the default "steal-build" task options, as follows:

  "steal-build": {
    default: {
      options: {
        steal: {
          config: __dirname + "/app/config.js",
          main: "app/app"
        buildOptions: {
          minify: false

The Grunt task takes 2 objects as its options: steal, and buildOptions.


These are config values that are used to load modules during the build process. Typically, you will want to specify at least the config and main options, like so:

  config: __dirname + "/config.js",
  main: ["math/add", "math/subtract"]


The buildOptions property specifies the properties on the options argument to Read more about them on

Help us improve StealJS by taking our community survey