depsBundle

  • property
config.depsbundle {Boolean | String}  

A configuration property that specifies that a dependencies bundle should be preloaded. Before using this API you first need to create a development bundle.

Boolean

Specifies that you would like to use deps bundles, in the default location of baseURL + dev-bundle.js.

<script src="./node_modules/steal/steal.js"
  deps-bundle main></script>

String

Specifies a moduleName, relative to the baseURL, for the deps-bundle. Use this option if you have changed the dest option in bundle.

<script src="./node_modules/steal/steal.js"
  deps-bundle="folder/dev-bundle" main></script>
Help us improve StealJS by taking our community survey