rspack_util 0.7.11

rspack util
Documentation
1
2
3
4
5
6
7
8
9
use std::sync::LazyLock;

// generate query
static RSPACK_QUERY: LazyLock<Option<String>> =
  LazyLock::new(|| std::env::var("RSPACK_QUERY").ok());

pub fn has_query() -> bool {
  RSPACK_QUERY.is_some()
}