devBundle

  • property
config.devbundle {Boolean | String}  

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

Boolean

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

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

String

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

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