diff options
| author | rr- <rr-@sakuya.pl> | 2016-04-10 22:13:52 +0200 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2016-04-10 22:14:25 +0200 |
| commit | bb3f280c7f3772c49f8d37327c84fe8e48793575 (patch) | |
| tree | 8d216cf219d9e60bd8630d540ee466c057e8cf63 | |
| parent | d97a332d23067f45cb663ef81417409a7a290310 (diff) | |
client/build: fix templates with more than 1 _
| -rw-r--r-- | client/build.js | 2 |
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)); } |