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"?
13.12.2024 03:32
👍 1
🔁 0
💬 1
📌 0
Static Asset Handling
Next Generation Frontend Tooling
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.
13.12.2024 02:53
👍 2
🔁 0
💬 1
📌 0