From 5b61712a89650654da5a42a27a4cfc9d9bacbd48 Mon Sep 17 00:00:00 2001 From: Ivar Prudnikovas Date: Fri, 12 Sep 2014 12:31:58 +0100 Subject: [PATCH] HORRIBLE HACK to allow custom directive to have revved file name --- lib/fileprocessor.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/fileprocessor.js b/lib/fileprocessor.js index a17f51d..60a9393 100644 --- a/lib/fileprocessor.js +++ b/lib/fileprocessor.js @@ -17,6 +17,10 @@ var _defaultPatterns = { /]*[^\>\S]+src=['"]([^"']+)["']/gm, 'Update the HTML with the new img filenames' ], + [ + /]*[^\>\S]+brand-logo-url=['"]([^"']+)["']/gm, + 'Update the HTML with the new directive attr file' + ], [ /]+src=['"]([^"']+)["']/gm, 'Update the HTML with the new video filenames'