message: refactor(config): Update with Minify
diff: @@ -30,6 +30,7 @@ pub struct Config {
  #[serde(skip)]
  pub includes_dir: &'static str,
  pub assets: Assets,
  + pub minify: Minify,
  }
  impl Default for Config {
  @@ -50,6 +51,7 @@ impl Default for Config {
  layouts_dir: "_layouts",
  includes_dir: "_includes",
  assets: Assets::default(),
  + minify: Minify::default(),
  }
  }
  }
  @@ -133,6 +135,27 @@ impl Default for SyntaxHighlight {
  }
  }
  +#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize)]
  +#[serde(default)]
  +#[serde(rename_all = "snake_case")]
  +#[cfg_attr(feature = "unstable", serde(deny_unknown_fields))]
  +#[cfg_attr(not(feature = "unstable"), non_exhaustive)]
  +pub struct Minify {
  + pub html: bool,
  + pub css: bool,
  + pub js: bool,
  +}
  +
  +impl Default for Minify {
  + fn default() -> Self {
  + Minify {
  + html: false,
  + css: false,
  + js: false,
  + }
  + }
  +}
  +
  fn find_project_file<P: Into<path::PathBuf>>(dir: P, name: &str) -> Option<path::PathBuf> {
  find_project_file_internal(dir.into(), name)
  }
  