Common Options
Learn more about modules here.
There are common options (properties) for modules.
defaultValue
defaultValue
Description | Type |
---|---|
Describes the built-in path for the module, this attribute is used only for built-in modules and never should be overridden. | String |
uses
uses
Description | Type | Default |
---|---|---|
The path that will be used to require the module, so if you want to use a custom script as the main script of the module use this attribute to do it. | String | The option defaultValue is used for built-in modules |
options.modulesData = {
styles: {
uses : 'custom/path/myCustomModule.js'
}
}
notStart
notStart
Description | Type | Default |
---|---|---|
If true, basebuild won't require the module when startup. Use can use this to require the module in specific time. | Boolean | false |
Updated less than a minute ago