UNPKG

shaman-website-compiler

Version:

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

12 lines (11 loc) 396 B
import { minify as _minify } from 'uglify-es'; import { EventHandler } from "./event-handler"; import { FileData } from "../models"; export declare class JavascriptContentHandler extends EventHandler { minify: typeof _minify; event: string; processEvent: (file: FileData) => Promise<void>; private minfiyJavascript; private getMinifyOptions; private updateFileContents; }