Taku Fukada
ciscorn.bsky.social
Taku Fukada
@ciscorn.bsky.social
Software engineer in the geospatial industry. Python, Rust, JS/TS.
But I'm not sure if Vite plugins can make use of query param like `?docgen`.

If that’s not allowed, maybe we’d have to fall back to something like "Component.svelte.docgen"?
December 13, 2024 at 3:32 AM
I’m also wondering if we can draw some inspiration from Vite’s ?raw feature (vite.dev/guide/assets...)

import rawCode from './Component.svelte?raw'

And the convention says:
> modules directly derived from a real file, as in the case of a script module in a SFC don't need to follow this convention.
Static Asset Handling
Next Generation Frontend Tooling
vite.dev
December 13, 2024 at 2:53 AM