sagold / handlebars-webpack-plugin

Renders your html-template at build time
161 stars 45 forks source link

Entry files globbing #13

Closed patrikniebur closed 7 years ago

patrikniebur commented 7 years ago

Not sure if globbing is the correct term but I've added option to add a multiple files using pattern match so .... entry: 'src/templates/*.hbs' ... will process every file ending .hbs Nothing else has been changed and plugin is backwards compatible making it ideal candidate to merge.

Thanks for great plugin and your time to review this request

sagold commented 7 years ago

Hi NiB18.

Thanks for the pr. It does work as expected. I have two small issues

Regards. sagold

sagold commented 7 years ago

I added a commit, refactoring es6 to es5 and will merge the pr.

patrikniebur commented 7 years ago

I didn't realise it, thanks!