Bjorn Lu
@bluwy.me
1.7K followers 94 following 93 posts
🇲🇾 Web dev. Building tools for fun. @vite.dev core team member. Something something opinions.
Posts Media Videos Starter Packs
bluwy.me
If only GH Sponsors has an updates feature that don't suck I'd have done this the easier way (there's newsletters but they're unsubscribed by default). And stricter perms for collaborators in private repos.
bluwy.me
If you're sponsoring me on GitHub, DM me anywhere and I'll share with you something I've been working for many months (and you can use today)! Nothing big but could be interesting if you build libraries with types.
bluwy.me
Packing for @viteconf.org and I realize I have too many Vite swag
bluwy.me
Thanks! Will do 👍
bluwy.me
`@bluwy/giget-core` is now back to a small 90kB install size thanks to @ayuhito.com's `modern-tar` package! Perf is also slightly faster.
packagephobia.com results for the `@bluwy/giget-core` package, showing a sharp decrease in install size in its latest 0.1.4 version
bluwy.me
`.js` because it’s cleaner and reminiscent of when folks only need to know of `.js`. (hoping and pushing for this to be somewhat true again soon)

I know explicit extensions is technically faster, but I don’t think it’s that noticeable in practice.
bluwy.me
One more tab to look for and open if you’re viewing online
bluwy.me
Let me see which version they're using...
A package.json dependencies section with versions specified as "catalog:", and a Mike Wazowski stare beside it
bluwy.me
Yeah I imagine a prompt to automatically squat the new packages with v0.0.0 (using local login & 2fa), then it offers to open all the tabs like before
bluwy.me
Not sure if it's in-scope of the project, but IIUC new packages need to be squatted first in order to access the settings. Maybe it's something the CLI can help with too?
bluwy.me
There's so many and I'm afraid of annoying everyone to fix them
bluwy.me
Bjorn Lu @bluwy.me · Aug 28
Some libraries publish sourcemaps with "sources" pointing back to the original but unpublished src files, making it harder to trace errors as the files aren't there to be inspected.

I wrote a script to identify those!

> npx renoma --filter-rules "renoma/no-missing-sourcemap-sources"
bluwy.me
I have also just started recently 😄 14h in so far
bluwy.me
GitHub seems to have release info linked when visiting commits individually, but not on the commits list page for some reason. Maybe something they could improve on for sure.

Other cases, like IDE views or checking out the source code at a SHA may still have this trouble though. Maybe it's just me.
bluwy.me
If this is the flow I've seen also used in `eslint-plugin-depend`, it annoys me a bit that I can't tell when a new version is released when looking at the commits list 😅
bluwy.me
Bjorn Lu @bluwy.me · Sep 10
You might’ve already seen it but this is Starlight’s implementation: github.com/withastro/st... I remember the folks there heavily optimizing it and is probably the most efficient way around git’s api
bluwy.me
Bjorn Lu @bluwy.me · Aug 28
Some libraries publish sourcemaps with "sources" pointing back to the original but unpublished src files, making it harder to trace errors as the files aren't there to be inspected.

I wrote a script to identify those!

> npx renoma --filter-rules "renoma/no-missing-sourcemap-sources"
Reposted by Bjorn Lu
jsnation.gitnation.org
Check out the insightful talk by @bluwy.me on #Vite's Hot Module Replacement (HMR) at the past conference. Learn about the key concepts behind it!
https://gitnation.com/contents/hot-module-replacement-is-easy
bluwy.me
Bjorn Lu @bluwy.me · Aug 20
I just found github.com/sveltejs/sve... and (besides the aggressive tone) I'm surprised the site has a font family/size switch. If I disable the media query, the Georgia font and default size looks a lot better for me.
bluwy.me
Bjorn Lu @bluwy.me · Aug 20
I’m on my MacBook (Pro 14” 2021). Personally I think the font is hard to optimize for as body text. The ligatures, thin strokes and inconsistent kerning makes reading and rendering tricky. I know that font choices had been discussed a lot but it felt to contribute to many issues I had.
bluwy.me
Bjorn Lu @bluwy.me · Aug 20
I guess it’s up to the svelte team but I hope to see it too
bluwy.me
Bjorn Lu @bluwy.me · Aug 20
Thanks to maudit.org/docs/ for surprising me with a pretty good serif design!
bluwy.me
Bjorn Lu @bluwy.me · Aug 20
1. The original font size was a tad large that the serif features got distracting, so I shrunk it.

2. "EB Garamond" has strokes too thin that blends with the background, enabling subpixel antialiasing fixes it (for mac) but I imagine lower-res monitors would have issue.

And it looks great after.
bluwy.me
Bjorn Lu @bluwy.me · Aug 20
I've never been a fan of Svelte's move to serif fonts, however I just realized the problem isn't really serif, but its execution. Made some tweaks (before / after) and it started to look great for me:
Svelte's original "What are runes" page Svelte's "What are runes" page edited by me
Reposted by Bjorn Lu
cultrepo.bsky.social
Vite: The Documentary premieres October 9th at @viteconf.org in Amsterdam ⚡
youtu.be/46fe5AFc0tY
Reposted by Bjorn Lu
viteconf.org
🚨 Call for Speakers: ViteConf 2025 🚨

Are you building something awesome with Vite, JavaScript, or modern web tooling? We’re officially inviting YOU to speak at the first-ever in-person ViteConf, happening 9–10 October 2025 in Amsterdam 🎤
ViteConf 2025, 9-10 October, Amsterdam
Do you want to speak at ViteConf? Got something to share? Submit your talk