UNPKG

relysjs

Version:

Reactive Web app server focusing on MPAs with a simple server route & browser build api...uses Bunjs, Elysia, ESBuild, rmemo, & ctx-core

29 lines (28 loc) 647 B
import type { Elysia } from 'elysia' export declare function static_export_( config:static_export_config_T ):Promise<static_export_result_T> export declare function static_export__file_path_( route:string, out_dir:string, content_type?:string ):string export type static_export_config_T = { routes?:string[] site_url:string out_dir?:string base_url?:string server_import?:string app?:Elysia sitemap?:boolean extra_routes?:string[] url_rewrite?:boolean incremental?:boolean manifest?:boolean clean?:boolean on_export?:(route:string, file:string)=>void } export type static_export_result_T = { exported:string[] errors:string[] }