UNPKG

google-fonts-plugin

Version:

Webpack plugin that downloads fonts from Google Fonts and encodes them to base64.

11 lines (10 loc) 451 B
import { compilation as webpackCompilation, Compiler } from 'webpack'; import DefaultOptions from '../Options/DefaultOptions'; export default class Plugin { private static pluginName; private readonly options; constructor(input?: DefaultOptions | string); static getPluginName: () => string; getFilename: (format: string, compilation: webpackCompilation.Compilation) => string; apply: (compiler: Compiler) => void; }