google-fonts-plugin
Version:
Webpack plugin that downloads fonts from Google Fonts and encodes them to base64.
14 lines (13 loc) • 359 B
TypeScript
import Font from './Font';
import FontDisplay from './FontDisplay';
export default interface DefaultOptions extends Object {
[key: string]: any;
fonts?: Font[];
formats?: string[];
chunkName?: string;
encode?: boolean;
fontDisplay?: FontDisplay | string;
cache?: boolean;
filename?: string;
stats?: boolean;
}