Add precompile hooks for assets.