Skip to content

Commit

Permalink
fix(preset-env): Ignore env.path for swc_css_prefixer
Browse files Browse the repository at this point in the history
Maybe reconsider this later if this is functionality we want
  • Loading branch information
egfx-notifications committed May 6, 2024
1 parent 45ece22 commit 7a7aaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/swc_css_prefixer/src/prefixer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a7aaf8

Please sign in to comment.