sagold / handlebars-webpack-plugin

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

Output defaults #17

Closed VRedondo-zz closed 7 years ago

VRedondo-zz commented 7 years ago

Hi, I was using handlebars-webpack-plugin to migrate a project from grunt to webpack, one of the requirements is compile several handlebars templates spread over the project, where this plugin fits very well, the issue I had was that I need each output right next to the each entry, for this reason I made some changes so when no output is defined in the plugin the output defaults to the same entry path of each file.

This may need some refining before being accepted into this project, but I hope this can bring more ideas and options about how to handle entries and outputs.

Thanks