diff --git a/crates/swc_css_prefixer/src/prefixer.rs b/crates/swc_css_prefixer/src/prefixer.rs index 292060b15161..47c359c94281 100644 --- a/crates/swc_css_prefixer/src/prefixer.rs +++ b/crates/swc_css_prefixer/src/prefixer.rs @@ -107,7 +107,7 @@ pub fn should_prefix(property: &str, target: Versions, default: bool) -> bool { } pub fn prefixer(options: Options) -> impl VisitMut { - let env: Versions = targets_to_versions(options.env).expect("failed to parse targets"); + let env: Versions = targets_to_versions(options.env, None).expect("failed to parse targets"); Prefixer { env,