recepie for asset precompilation

revert back to this solution since the other alternative is too slow.