class ViteRuby::Commands

def build_from_task(*args)

Public: Defaults to production, and exits if the build fails.
def build_from_task(*args)
  with_node_env(ENV.fetch('NODE_ENV', 'production')) {
    ensure_log_goes_to_stdout {
      build(*args) || exit!
    }
  }
end