The name of a module that is loaded before @dev and main.
A configuration module that is loaded before
the main module(s). This is where all configuration
should happen. The configMain
module and all of its dependencies
run during a build, so make sure they can operate without a DOM.
Use
The
configMain
name and path is typically specified with configPath in the steal.js<script>
tag like:This sets
configMain = "stealconfig.js"
.Use with npm
If steal.js is inside node_modules like:
configMain
will be set to"package.json!npm"
.