Node

The [node] table can be used to map build profile names to the NODE_ENV variable set when running hooks.

The default mappings are debug to development, release to production and dist to production.

You can overwrite the defaults or define your own mappings, for example:

[node]
debug = "dev"
release = "prod"
dist = "prod"
stage = "stage"

Back to Settings