UNPKG

es-dev-server

Version:

Development server for modern web apps

13 lines (12 loc) 484 B
import { PolyfillsLoaderConfig } from '../utils/inject-polyfills-loader'; import { Plugin } from '../Plugin'; export interface PolyfillsLoaderPluginConfig { rootDir: string; compatibilityMode: string; polyfillsLoaderConfig?: Partial<PolyfillsLoaderConfig>; } /** * Creates plugin which injects polyfills and code into HTML pages which allows * it to run on legacy browsers. */ export declare function polyfillsLoaderPlugin(config: PolyfillsLoaderPluginConfig): Plugin;