summaryrefslogtreecommitdiff
path: root/client/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/build.js')
-rw-r--r--client/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/build.js b/client/build.js
index 827b4c0..80a7cf3 100644
--- a/client/build.js
+++ b/client/build.js
@@ -63,7 +63,7 @@ function bundleHtml(config) {
for (const file of files) {
templatesHtml += util.format(
'<template id=\'%s-template\'>%s</template>',
- path.basename(file, '.hbs').replace('_', '-'),
+ path.basename(file, '.hbs').replace(/_/g, '-'),
fs.readFileSync(file));
}