4.0.0 (2024-12-23)
- Add support for Tauri v2.
- Parse Tauri CLI arguments from
process.argv
so now you could pass-- -t/--tauri <tauri-cli-argument>
. - Breaking change: Removed
debug
,verbose
, andtarget
config options, instead, you should pass these options as Tauri CLI arguments.
3.3.0 (2023-5-7)
- Add option to build with verbose logging
- Fix regression in
3.2.0
wheredev
was always built with--release
flag and devtools were inaccessible.
3.2.0 (2023-5-6)
- Add option to specify the rust build target
3.1.1 (2023-5-5)
- Updated dependencies
3.1.0 (2022-10-1)
-
Add a default export to the plugin which allows two styles of importing:
- Named export (current):
import { tauri } from "vite-plugin-tauri";
- Default export (new):
import tauri from "vite-plugin-tauri";
- Named export (current):
-
Detect
Tauri.toml
file when detecting if there is a Tauri project is initialized or not.
3.0.2 (2022-10-1)
- Removed internal modification of vite config to disable
clearScreen
andserver.open
and delegate it to the user. - Removed
kolorist
dependency to reduce package size.
3.0.1 (2022-10-1)
- Fix passing
debug
option to tauri cli in build mode.
3.0.0 (2022-10-1)
- Refactored the plugin to be a proper Vite plugin. Consult README.md for how to use it.
2.3.0 (2022-09-26)
- Auto-fill
beforeDevCommand
andbeforeBuildCommand
when initializing the tauri project.
2.2.0 (2022-07-24)
- Update
vite
peerDependency to>= 2
which adds vite@3 support
2.1.0 (2022-06-12)
- Update
@tauri-apps/cli
tov1.0.0
2.0.0 (2022-06-04)
- Bump minimum supported Node.js version to
14.6.0
1.1.3 (2022-05-02)
- update dependencies
1.1.2 (2022-02-28)
- fix running subcommands other than
init, dev, build
(0094010) - prevent
init
subcommand also runningdev
(c31e1a5) - resolve vite outDir before passing to tauri cli (99f648d)
1.1.1 (2022-02-21)
1.1.0 (2022-02-14)
- use
TAURI_PATH_DEPTH
env if it exists (b5224fb)
1.0.0 (2022-02-12)
- use
@tauri-apps/cli
as a peerDeppendency (ad1bbf4)
0.1.12 (2022-01-12)
- print stdout from tauri correctly (85ed5dd)
- upadte
LICENSE.md
- show correct cli name in help message
- use node12 compatible api to remove corrupted downloads
- correctly construct window title upon initialization
- print tauri help message when a subcommand isn't passed
- fix crash upon running the cli without passing a subcommand
- lower needed NodeJs version to
>=12.20
- pass cli arguments to tauri cli in dev/build
- update node engine to
^12.20.0 || ^14.13.1 || >=16.0.0
- append version to downloaded cli
- use correct tauri cli command for
vite-tauri build
- fix
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'stream'
- update required node version
- add support for all tauri cli commands and flags