Skip to content

fix: remove unnecessary async from vite config templates - #959

Merged
FabianLars merged 2 commits into
tauri-apps:devfrom
katayama8000:fix/remove-unnecessary-async-from-vite-config
Mar 17, 2026
Merged

fix: remove unnecessary async from vite config templates#959
FabianLars merged 2 commits into
tauri-apps:devfrom
katayama8000:fix/remove-unnecessary-async-from-vite-config

Conversation

@katayama8000

Copy link
Copy Markdown
Contributor

The async keyword in defineConfig(async () => ({...})) across all Vite-based templates is unnecessary since there are no await expressions inside the function body. This removes it to keep the code clean and accurate.

@FabianLars

Copy link
Copy Markdown
Member

looks like a leftover from #746 - good catch!

i'll leave this open until we can figure out the ci failures in another PR(?).

Also, can you add a changefile similar to https://github.com/tauri-apps/create-tauri-app/blob/dev/.changes/blazor-need-tauri-cli.md please

@katayama8000

katayama8000 commented Mar 17, 2026

Copy link
Copy Markdown
Contributor Author

@FabianLars Can you review it again?
I like your cat though.

@FabianLars
FabianLars merged commit 0b66048 into tauri-apps:dev Mar 17, 2026
7 of 27 checks passed
@katayama8000
katayama8000 deleted the fix/remove-unnecessary-async-from-vite-config branch March 18, 2026 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants