preview and asset compile