fix(core): before_bundle_command kebab-case alias

This commit is contained in:
Lucas Nogueira 2022-08-09 14:17:11 -03:00
parent e602432ef6
commit fd992c547e
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

View File

@ -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>>,