Skip to content

Commit d7b1cea

Browse files
authored
Add wasm compilation cfg for (#895)
1 parent 50a956b commit d7b1cea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/targets.rs

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ impl Browsers {
5151
Self::from_distribs(resolve(query, &Opts::default())?)
5252
}
5353

54+
#[cfg(not(target_arch = "wasm32"))]
5455
/// Finds browserslist configuration, selects queries by environment and loads the resulting queries into LightningCSS targets.
5556
///
5657
/// Configuration resolution is modeled after the original `browserslist` nodeJS package.

0 commit comments

Comments
 (0)