Skip to content

Commit a5a35fa

Browse files
fix(preset-env): Ignore env.path for swc_css_prefixer
Maybe reconsider this later if this is functionality we want
1 parent 62f3170 commit a5a35fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/swc_css_prefixer/src/prefixer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub fn should_prefix(property: &str, target: &Versions, default: bool) -> bool {
111111
}
112112

113113
pub fn prefixer(options: Options) -> impl VisitMut {
114-
let env = targets_to_versions(options.env).expect("failed to parse targets");
114+
let env = targets_to_versions(options.env, None).expect("failed to parse targets");
115115

116116
Prefixer {
117117
env,

0 commit comments

Comments
 (0)