UNPKG

grunt-cache-bust-lazy-loading

Version:

Bust static assets from the cache using content hashing. It also supports lazy loading for divs and images when using class lazy.

10 lines (8 loc) 291 B
'use strict'; module.exports = { relativePath: /^\.{1,2}\//, remote: /^http:|^https:|^\/\/|^data:image/i, extension: /(\.[a-zA-Z0-9]{2,4})(|\?.*)(|#.*)$/, urlFragHint: /'(([^']+)#grunt-cache-bust)'|"(([^"]+)#grunt-cache-bust)"/g, removeFragHint: /#grunt-cache-bust/g };