UNPKG

htmlgaga

Version:

Manage non-SPA pages with webpack and React.js

12 lines (11 loc) 415 B
import { HtmlgagaConfig } from '../../Builder/index'; import type { HelmetData } from 'react-helmet'; import { SyncHook } from 'tapable'; export default class Ssr { hooks: { [propName: string]: SyncHook; }; helmet?: HelmetData; constructor(); run(pagesDir: string, templateName: string, cacheRoot: string, outputPath: string, htmlgagaConfig: HtmlgagaConfig): Promise<void>; }