UNPKG

@hapiness/ng-universal

Version:

This is a Hapiness Engine for running Angular Apps on the server for server side rendering.

16 lines (15 loc) 541 B
import { NgModuleFactory, StaticProvider, Type } from '@angular/core'; import { ɵnguniversal_modules_module_map_ngfactory_loader_module_map_ngfactory_loader_a as ModuleMap } from '@nguniversal/module-map-ngfactory-loader'; /** * These are the allowed options for the module */ export interface NgSetupOptions { bootstrap: Type<{}> | NgModuleFactory<{}>; lazyModuleMap: ModuleMap; staticContent: StaticContent; providers?: StaticProvider[]; } export interface StaticContent { indexFile: string; rootPath: string; }