Taku Fukada's Avatar

Taku Fukada

@ciscorn

Software engineer in the geospatial industry. Python, Rust, JS/TS.

10
Followers
5
Following
2
Posts
08.02.2024
Joined
Posts Following

Latest posts by Taku Fukada @ciscorn

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
Preview
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