UNPKG

@rws-framework/client

Version:

Realtime Web Suit is a web-component powered, MS FAST powered fullstack-oriented framework that you can use to create domain-agnostic modular asynchoronous components with intershared authorized states.

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;