From 21f62ba41a57af3f2b4a18a3cce1ba9fc995a3ae Mon Sep 17 00:00:00 2001 From: TetroX Date: Mon, 24 Sep 2018 12:44:44 +0500 Subject: [PATCH] =apply processPath function to file.path to --- lib/html2js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/html2js.js b/lib/html2js.js index 030c2cb..2bb4a5c 100644 --- a/lib/html2js.js +++ b/lib/html2js.js @@ -25,7 +25,7 @@ var createHtml2JsPreprocessor = function(logger, basePath, config) { var htmlPath = processPath(file.originalPath.replace(basePath + '/', '')); - file.path = file.path + '.js'; + file.path = processPath(file.path) + '.js'; done(util.format(TEMPLATE, htmlPath, escapeContent(content))); }; };