swc_ecma_preset_env

Type Alias Versions

pub type Versions = BrowserData<Option<Version>>;
Expand description

A map of browser names to data for feature support in browser.

This type mainly stores minimum version for each browsers with support for a feature.

Aliased Type§

struct Versions {
Show 26 fields pub chrome: Option<Version>, pub chrome_android: Option<Version>, pub firerfox_android: Option<Version>, pub opera_android: Option<Version>, pub quest: Option<Version>, pub react_native: Option<Version>, pub and_chr: Option<Version>, pub and_ff: Option<Version>, pub op_mob: Option<Version>, pub ie: Option<Version>, pub edge: Option<Version>, pub firefox: Option<Version>, pub safari: Option<Version>, pub node: Option<Version>, pub ios: Option<Version>, pub samsung: Option<Version>, pub opera: Option<Version>, pub android: Option<Version>, pub electron: Option<Version>, pub phantom: Option<Version>, pub opera_mobile: Option<Version>, pub rhino: Option<Version>, pub deno: Option<Version>, pub hermes: Option<Version>, pub oculus: Option<Version>, pub bun: Option<Version>,
}

Fields§

§chrome: Option<Version>§chrome_android: Option<Version>§firerfox_android: Option<Version>§opera_android: Option<Version>§quest: Option<Version>§react_native: Option<Version>§and_chr: Option<Version>§and_ff: Option<Version>§op_mob: Option<Version>§ie: Option<Version>§edge: Option<Version>§firefox: Option<Version>§safari: Option<Version>§node: Option<Version>§ios: Option<Version>§samsung: Option<Version>§opera: Option<Version>§android: Option<Version>§electron: Option<Version>§phantom: Option<Version>§opera_mobile: Option<Version>§rhino: Option<Version>§deno: Option<Version>§hermes: Option<Version>§oculus: Option<Version>§bun: Option<Version>