compile asset