Removing useless assets on build