Namespace: gulpHash

plugins.gulpHash

Interfaces

Functions

default

default(hashes): Transform

Gulp plugin for generating md5 based hashes for filenames. The files are renamed to contain the hash in filename.{md5}.ext format. The hash information is also stored in the hashes map parameter with the file’s relative path as the key.

Parameters

Name Type Description
hashes Record<string, HashInfo> Map to store the hash information to

Returns

Transform