diff --git a/js/template-bundler/template-bundler.js b/js/template-bundler/template-bundler.js index 86035cedb9..d9b2452e90 100644 --- a/js/template-bundler/template-bundler.js +++ b/js/template-bundler/template-bundler.js @@ -39,7 +39,7 @@ class TemplateBundler { * }} config */ constructor(config) { - this.dirs = this.dirs ?? ['client/res/templates']; + this.dirs = config.dirs ?? ['client/res/templates']; this.dest = config.dest ?? 'client/lib/templates.tpl'; this.clientDir = config.clientDir ?? 'client'; }