sagold / handlebars-webpack-plugin

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

Generate file after compilation #10

Open ConAntonakos opened 7 years ago

ConAntonakos commented 7 years ago

Is it possible to do this? The reason I'm asking is because I'm trying to integrate Subresource Integrity, and the bundled file needs to be available, and subsequently, hashed before the HTML file is generated. If not, I'll look into making a contribution.

Thanks!

sagold commented 7 years ago

The plugin currently is started at compile time. Maybe there is a working option for an after-compilation-hook. But in the latest docs for webpack 2 options are yet missing.