bit-docs-generate-html/build/build_hash module

Returns a unique hash for the options that control the build.

buildHash(options)

Parameters

  1. options {Object}:

    Options that might change the characteristic of the build:

    • minifyBuild {Boolean}

      If set to false the build will not be minified. This behavior should be implemented by the "build" module.

    • devBuild {Boolean}

      If set to true the build will not be built and copied in "development" mode.

    • static {String}

      The location of static content used to overwrite or add to the default static content.

    • templates {String}

      The location of templates used to overwrite or add to the default templates.

Returns

{String}:

a hash that represents this build.

The generated hash will be something like 917c51373c902dc4a003c7fd949774c5.