moving precompile assets def to application