@dev
{Object}
A module loaded in development after @config but
before main. It typically loads development-only
tools. By default, it loads steal/dev.js
which provides the following
values on a global steal.dev
:
{Object}
A module loaded in development after @config but
before main. It typically loads development-only
tools. By default, it loads steal/dev.js
which provides the following
values on a global steal.dev
:
Use
Call
steal.dev.log
to log development info. For example:Call
steal.dev.warn
to log warning information. For example:Call
steal.dev.assert
to test for truthiness of the expression provided. For example:By default, steal-tools will remove
steal.dev.log
,steal.dev.warn
andsteal.dev.assert
calls from the built output.