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