UNPKG

reboost

Version:

A super fast dev server for rapid web development

21 lines (20 loc) 754 B
import { ReboostPlugin } from '../../index'; import { Modes } from './generator'; export declare type URLTester = (url: string, filePath: string) => boolean; declare namespace CSSPlugin { export { URLTester }; export interface ModuleOptions { mode: Modes | ((filePath: string) => Modes); exportGlobals: boolean; test: RegExp | ((filePath: string) => boolean); } export interface Options { import?: boolean | URLTester; url?: boolean | URLTester; modules?: boolean | ModuleOptions; sourceMap?: boolean; } } declare const PluginName = "core-css-plugin"; declare function CSSPlugin(options?: CSSPlugin.Options): ReboostPlugin; export { CSSPlugin, PluginName };