UNPKG

@rws-framework/client

Version:

This package provides the core client-side framework for Realtime Web Suit (RWS), enabling modular, asynchronous web components, state management, and integration with backend services. It is located in `.dev/client`.

12 lines (9 loc) 355 B
import { HTMLLoaderParams, IRWSViteLoader } from "./loader.type"; const loader: IRWSViteLoader<HTMLLoaderParams> = async (params: HTMLLoaderParams) => ({ name: 'rws-html', async transform(code: string, id: string) { if (!id.endsWith('.html')) return null; return null; } }); export default loader;