Simon Willison on Nostr: Here are my notes from last time I figured out how to use Vite for something like ...
Published at
2024-03-02 17:46:19Event JSON
{
"id": "a45baeeb4db6ccbc5f8de0d769346cdc106465d54a1b6b4aa06ca229b4c6bfec",
"pubkey": "8b0be93ed69c30e9a68159fd384fd8308ce4bbf16c39e840e0803dcb6c08720e",
"created_at": 1709401579,
"kind": 1,
"tags": [
[
"e",
"52afcec922b4356aa8c37a9b43a8c00c3c56701662d1c84c8834acf9353d0024",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fedi.simonwillison.net/users/simon/statuses/112027341944138177",
"activitypub"
]
],
"content": "Here are my notes from last time I figured out how to use Vite for something like this: https://til.simonwillison.net/npm/publish-web-component#user-content-using-vite-to-load-the-lit-dependency\n\nI'm looking for the least number of steps between seeing docs that say import * as mod from \"@kwhinnery/yassify\" and having that code work in a browser on my laptop",
"sig": "8b2a154c4bbb389a9a25215d6271f0fd5328427f600a8dbbadc0f3386cb02723601f6ce352d48197bbea266f602a555bb66c09f0f8537b931201208e58b58d0c"
}