-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add option to specify build target
- Loading branch information
Showing
4 changed files
with
32 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** Configuration object for vite-plugin-tauri */ | ||
export interface ViteTauriPluginConfig { | ||
/** Enable or disable building Tauri in debug mode. Defaults to `undefined` which means it will be in `debug` mode for `development` and in `release` mode for `production` */ | ||
debug?: boolean; | ||
/** | ||
* Specify the rust target to build. Defaults to the target of the currently active toolchain | ||
* | ||
* @see https://doc.rust-lang.org/nightly/rustc/platform-support.html for full list of targets | ||
*/ | ||
target?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters