I have a templates folder and I have multiple files under it. I want to compile all these templates into a single file so that I can load it using requireJS.
I know that, I can do this via build tools like Grunt, Gulp, Brunch etc
What I am specifically looking for is how can I do this via command line using the handlebars compiler.
I installed the compiler via node
npm install -g handlebars
But, I am able to compile only 1 file at a time.
handlebars --amd templates/single-template.hbs -f compiled.js
[I am using windows OS]