rspack_core 0.7.11

rspack core
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#[derive(Debug, Default, Clone)]
pub enum CacheOptions {
  #[default]
  Disabled,
  Memory {
    /// The maximum number of generations to keep in memory.
    ///
    /// For example, if `max_generations` is set to 1,
    /// the cache will be removed if it's not accessed for 1 compilation generation.
    max_generations: Option<u32>,
  },
}