diff --git a/src/fauxton/Gruntfile.js b/src/fauxton/Gruntfile.js index 3afaa1f6250..49b52a4e9a7 100644 --- a/src/fauxton/Gruntfile.js +++ b/src/fauxton/Gruntfile.js @@ -160,10 +160,19 @@ module.exports = function(grunt) { // The concat task depends on this file to exist, so if you decide to // remove this, ensure concat is updated accordingly. jst: { - "dist/debug/templates.js": [ - "app/templates/**/*.html", - "app/addons/**/templates/**/*.html" - ] + compile: { + options: { + processContent: function(src) { + return src.replace(//gm, ''); + } + }, + files: { + "dist/debug/templates.js": [ + "app/templates/**/*.html", + "app/addons/**/templates/**/*.html" + ] + } + } }, template: templateSettings,