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))); }; };