mirror of
https://github.com/swc-project/swc.git
synced 2024-09-11 16:55:27 +03:00
fix(preset-env): Ignore env.path for swc_css_prefixer
Maybe reconsider this later if this is functionality we want
This commit is contained in:
parent
45ece22de0
commit
7a7aaf8f76
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user