Stress testing a WIP ts-svg feature: "only process used icons." I've got 5995 icons and don't want the dev server to pull everything into the browser, or builds to transform unused SVGs before tree-shaking.
Latest progress: dev stays fast, build is ~2s with 8/5995 icons used
15.02.2026 02:53
๐ 1
๐ 0
๐ฌ 0
๐ 0
But yeah, admittedly it adds side effects to the test case, so it needs some caution. For now Iโve disabled parallel runs and made sure it cleans up before the next run.
11.02.2026 23:48
๐ 0
๐ 0
๐ฌ 0
๐ 0
Just wrote tests for svg-ts. It was my first time setting up visual regression manually. One โwildโ test even does `fs.writeFile` during the run to observe HMR. If I comment out my HMR handling logic, it hot reloads into a 500 error page and the snapshots fail. It's satisfying.
11.02.2026 23:41
๐ 0
๐ 0
๐ฌ 1
๐ 0
@ts-svg/svelte v0.0.1 is out ๐
Type-safe SVG bundling #Vite Plugin โ scans a folder and generates typed virtual modules, so you can import SVGs as #Svelte components with autocomplete:
import * as Icon from 'virtual:ts-svg/icons' โ type <Icon. โ
github.com/chunnamwong/...
08.02.2026 22:01
๐ 3
๐ 0
๐ฌ 0
๐ 0
Testing the reworked version of my SVG #Vite plugin with #SvelteKit. It focuses on simpler setup and better DX. Now, whenever I add a new icon to the folder, I just type `<Icon.` and boom, the ready-to-use component shows up in autocomplete.
07.02.2026 03:30
๐ 5
๐ 0
๐ฌ 0
๐ 1
Isolated parallel E2E tests for SvelteKit apps with Remote Functions
I published an article (with source code) introducing my parallel, isolated Playwright test setup using Testcontainers, demonstrated on a SvelteKit app with Remote Functions. chunnamwong.com/blog/sveltek...
08.01.2026 12:07
๐ 5
๐ 0
๐ฌ 0
๐ 0