Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
83.66k
stars
2.51k
forks
source link
[bug] "process.env.TAURI_ENV_PLATFORM" is undefined by command "pnpm tauri ios dev" #8484
Closed
guobaorou-man closed 8 months ago
Describe the bug
Command "pnpm tauri ios dev" can't get the process.env.TAURI_ENV_PLATFORM correctly. Command "pnpm tauri android dev" works.
vite.config.ts
terminal print for ios
terminal print for android
Did I got something wrong?
Reproduction
No response
Expected behavior
No response
Full
tauri info
outputStack trace
No response
Additional context
No response