PhoenixAssets.SvelteKit (PhoenixAssets v0.1.0)

View Source

Integration plugin for SvelteKit (with Vite) under phoenix_assets.

Contributes the supervised Vite dev process, the core endpoint-route and env contracts, and asset-graph page entries discovered from the SvelteKit routes directory. Page-route authority stays with SvelteKit -- this plugin only records which +page.svelte files exist so the graph can link them to Phoenix routes, shapes, and topics.

Summary

Functions

Callback implementation for PhoenixAssets.Plugin.name/0.

Functions

name()

Callback implementation for PhoenixAssets.Plugin.name/0.

vite_config(_, _)

Callback implementation for PhoenixAssets.Plugin.vite_config/2.