How to build a static library with "swift build" and SwiftPM?

Packag.swift defaults to setting libraries as no libraries. We would like to simplify the configuration and use swift build to specify static libraries, but I haven't found a similar compilation parameter to replace “type: .static” in:

        .library(
            name: “”,
            type: .static,
            targets: []
        ),