Include dist so output is visible too.
Add dist.
Refactor gulp file to use the newer critical API
Revise to use critical module.