Bun? #5837
Replies: 6 comments 12 replies
-
Tauri uses browser environment to run js, is there any need for bun? |
Beta Was this translation helpful? Give feedback.
-
I guess this would be part of the
That's the idea behind the js api (and to an extend the plugin system). Tauri is still quite young so the api doesn't cover all the common use cases yet |
Beta Was this translation helpful? Give feedback.
-
If you want to use bun to create and develop, you can just use "build": {
"beforeDevCommand": "bun dev",
"beforeBuildCommand": "bun build",
"devPath": "http://localhost:1420",
"distDir": "../dist",
"withGlobalTauri": false
}, I tried it and it works, but can't guarantee if there are other potential issues. |
Beta Was this translation helpful? Give feedback.
-
This is still relevant, is there any planning to support a js runtime? bun/deno/node rust is great but having a js runtime would help in sharing the common js resources with web and backend like types, services, libs, etc. |
Beta Was this translation helpful? Give feedback.
-
we can't with the community with open source elements of sracht try to have a desktop application with bun and sveltkit or whatever i know it's complicated but it concerns me |
Beta Was this translation helpful? Give feedback.
-
I would like to see a node like backend option for tauri that is light. Would rather use JS in the backend over rust and I think the developer should be able to choose weather to use rust or a light js backend. |
Beta Was this translation helpful? Give feedback.
-
Might tauri ever support Bun (homepage, github) as a runtime?
Any interest in this?
Anyone know of other projects similar to tauri that use a JS-based runtime (maybe something that compiles to WASM)?
Context (fwiw): I'm a total newbie to tauri and Rust and needing to learn it in order to use tauri feels like learning to walk all over again. However, I've just learned about tauri's JS APIs which might prevent me from needing to do much (if any) Rust (so maybe this is less of an issue than I had thought).
Beta Was this translation helpful? Give feedback.
All reactions