UNPKG

directive-to-hof

Version:

Transform directives into a higher order function

15 lines (14 loc) 455 B
import { type DirectiveTransformerOptions } from './transformer.js'; export declare function esbuild(options: DirectiveTransformerOptions): { name: string; setup(build: any): Promise<void>; }; export declare function rollup(options: DirectiveTransformerOptions): { name: string; transform(code: string, id: string): Promise<{ code: string; map: null; }>; }; export { rollup as vite }; export * from './transformer.js';