(λ. borkdude) on Nostr: I'm trying to write a squint REPL in combination with vite. I need to manually ...
I'm trying to write a squint REPL in combination with vite. I need to manually translate an imported library name, e.g. "joi" to what vite resolves it to, e.g.: "/node_modules/.vite/deps/joi.js\?v\=53669cbc" before eval-ing. Is there a vite API I can use for this?
#clojure #vite
Published at
2024-10-26 11:03:33Event JSON
{
"id": "ec0d606e3d19babec63a609008afaa49aee05c5856521daa3dbaae2521fc13e7",
"pubkey": "c4ef83416f079257f5390f7d55a65e684d1b498d196e0e71bb8b90e21a820e07",
"created_at": 1729940613,
"kind": 1,
"tags": [
[
"t",
"clojure"
],
[
"t",
"vite"
],
[
"proxy",
"https://mastodon.social/users/borkdude/statuses/113373388037237618",
"activitypub"
]
],
"content": "I'm trying to write a squint REPL in combination with vite. I need to manually translate an imported library name, e.g. \"joi\" to what vite resolves it to, e.g.: \"/node_modules/.vite/deps/joi.js\\?v\\=53669cbc\" before eval-ing. Is there a vite API I can use for this?\n#clojure #vite",
"sig": "362e9d6d9b0bd5a6979e2ab7ae1ec530d328f73691bf4b885072757b5c29d4b2e9605d1545decccac305be509cb960ee21d509a8d79df6f0a39ca61cb93fb564"
}