Got it, we should refactor this to using `environments` as same as `build` and `inspect` command. _Originally posted by @Timeless0911 in https://github.com/web-infra-dev/rslib/pull/552#discussion_r1883259580_