D
Deno
Change Theme
Search Answer Overflow
Login
scarf
•
14mo ago
how to import svg in vite without type errors?
2 Replies
TheYuriG
•
14mo ago
how are you exporting it? error says you don't have a default export don't you?
scarf
•
14mo ago
it's a plain svg file. i could've made it a tsx default export but wanted import it as-is as vite handles it natively
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
17K
Members
View on Discord
More Posts
Can't connect to http server on official alpine deno with std serve.
I'm using the official alpine docker container to run deno, listening on port 8080, but a simple cur
calling a javascript function and waiting for the promise with `rusty_v8`
```rust let result = function.call(scope, recv, &[]).expect("couldnt run"); /*i got this result whic
Deno KV: subtract with `sum` operation?
If I do `.sum([key], 1n)` the value is increased by 1. How can I decrease it? I tried `.sum([key],
Proxying a Rust API using FFI?
I have a rust application that serves a rest api that runs in a container. I also have a deno cli th
How to use declarations from `vite/client`?
There are declarations: https://esm.sh/v126/vite@4.3.9/client.d.ts According to documentation, I nee
getting errno with ffi
I am using ffi to call `execv` and need to get the value of `errno` for failures, but can’t see how
Purging Kv keys
I have a logger which write logs to a kv store with dual keys, something like ```ts kv.set(["logs_b
What is the right way to bundle native modules?
If I'm not able to import a native module with the built-in "import" keyword, what is the ideal way
HandleScope in async op
Is there a way to get v8::HandleScope inside async op if I add it as ``` scope: &mut v8::HandleScop
Deno LSP randomly breaks until a restart (unable to send result to client)
This wasnt an issue until recently. In vscode randomly the lsp stops working. Trying to use the auto