浏览代码

fix(core): before_bundle_command kebab-case alias

Lucas Nogueira 3 年之前
父节点
当前提交
fd992c547e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/tauri-utils/src/config.rs

+ 1 - 1
core/tauri-utils/src/config.rs

@@ -2455,7 +2455,7 @@ pub struct BuildConfig {
   /// A shell command to run before the bundling phase in `tauri build` kicks in.
   ///
   /// The TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG environment variables are set if you perform conditional compilation.
-  #[serde(alias = "before-build-command")]
+  #[serde(alias = "before-bundle-command")]
   pub before_bundle_command: Option<HookCommand>,
   /// Features passed to `cargo` commands.
   pub features: Option<Vec<String>>,