UNPKG

shaman-website-compiler

Version:

Compile raw HTML, CSS and Javascript into the smallest possible, SEO friendly website.

22 lines (21 loc) 612 B
import { Route, WebsiteConfig, FileData, Bundle } from "./models"; export declare class Website { gaze: any; routes: Route[]; get config(): WebsiteConfig; private _config; private compiler; private server; private context; private eventService; private logger; constructor(); build: (render?: boolean) => Promise<Route[]>; private outputFiles; private startServer; private watchFiles; fileChanged: (path: string) => Promise<void>; getFileData: (path: string) => FileData; getBundleData: (name: string) => Bundle; private reloadHtmlPages; }