automating the precompiling for the assets