steal
Version:
Gets JavaScript.
30 lines (23 loc) • 693 B
Markdown
@property {Object} config.buildConfig buildConfig
@parent StealJS.config
An object of [config.config] overwrites to use when loading plugins while building.
@body
## Use
In an application's build process, it may be necessary to overwrite existing configuration properties, such as paths or maps. For example, a jQuery based application may have a configuration such as:
```
steal.config({
map: {
"can/util/util": "can/util/jquery/jquery"
}
});
```
However, during the build, DOM access may not be available. Altering the configuration as follows will be necessary:
```
steal.config({
buildConfig: {
map: {
"can/util/util": "can/util/domless/domless"
}
}
};
```