Environment variables

Available environment variables to configure Lume

Lume has the following environment variables:

LUME_DRAFTS

All pages with the variable draft: true are ignored by Lume. With this variable you can configure Lume to process draft pages too, which is useful for development environments.

LUME_DRAFTS=true npm run serve

Note

In development mode (i.e. with npm run serve), the LUME_DRAFTS variable is true by default.

LUME_LOGS

Lume uses the following log levels: DEBUG, INFO, WARNING, ERROR and CRITICAL. The default level is INFO and this environment variable allows to change it to have more or less details of the build process. For example, to only show critical errors, hiding everything else:

LUME_LOGS=critical npm run serve
LUME_NOCACHE

Lume has a _cache folder used by some plugins and to store remote files. Use this environment variable to disable it.

LUME_NOCACHE=true npm run serve
LUME_CONCURRENCY

Some operations like page loading, rendering, saving, etc are executed concurrently. You can configure the limit of concurrent operations (by default 200)

LUME_CONCURRENCY=75 npm run serve