rspack_util 0.7.11

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

static RSPACK_HOT_TEST: LazyLock<String> =
  LazyLock::new(|| std::env::var("RSPACK_HOT_TEST").ok().unwrap_or_default());

pub fn is_hot_test() -> bool {
  *RSPACK_HOT_TEST == "true"
}