use standalone option in dist build