pud at September 12th, 2017 21:05 — #1
I suppose if someone can just point me to how to actually trigger the js minification based on the html hooks locally, that would be good too (it doesn't have to go into .whdist of course).
pdkn at September 14th, 2017 06:50 — #2
This is the code that's called when 'wh deploy' is invoked https://github.com/webhook/webhook/blob/master/lib/push.js. I don't have time to figure out the solution for you but hope it helps point you in the right direction...
ruben at September 20th, 2017 11:51 — #3
grunt assets is the command responsible for creating the
As @pdkn pointed out, the
push.js file is responsible for handling
wh deploy commands.
This is the function that runs the
grunt assets command. https://github.com/webhook/webhook/blob/master/lib/push.js#L91-L101
Which is run just after the
grunt build is completed, which verifies that the site can be built locally.