steal
Version:
Gets JavaScript.
29 lines (22 loc) • 621 B
Markdown
object of moduleName keys to
module values. All values will be converted into a module.
## Use
This config should be set before `steal.js` is loaded. The following
prevents the production bundle from loading:
```
<script>
steal = {
instantiated: {
"bundles/myapp.css!$css" : null
}
}
</script>
<script src="../../steal/steal.js"
main="myapp"
env="production">
</script>
```
{Object<moduleName,*>} config.instantiated instantiated
StealJS.config
Specify modules that have already been loaded prior to loading `steal.js`.
{Object<moduleName,*>} An