From bb3f280c7f3772c49f8d37327c84fe8e48793575 Mon Sep 17 00:00:00 2001 From: rr- Date: Sun, 10 Apr 2016 22:13:52 +0200 Subject: [PATCH] client/build: fix templates with more than 1 _ --- client/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/build.js b/client/build.js index 827b4c07..80a7cf3c 100644 --- a/client/build.js +++ b/client/build.js @@ -63,7 +63,7 @@ function bundleHtml(config) { for (const file of files) { templatesHtml += util.format( '', - path.basename(file, '.hbs').replace('_', '-'), + path.basename(file, '.hbs').replace(/_/g, '-'), fs.readFileSync(file)); }