UNPKG

@typed/content-hash

Version:

Content hash a directory of HTML/JS/CSS files and other static assets

16 lines (14 loc) 419 B
import { createCssPlugin, createHtmlPlugin, createJavascriptPlugin, CssPluginOptions, HashPlugin, HtmlPuginOptions, JavascriptPluginOptions, } from './infrastructure' export function createDefaultPlugins( options: JavascriptPluginOptions & CssPluginOptions & HtmlPuginOptions, ): readonly HashPlugin[] { return [createJavascriptPlugin(options), createCssPlugin(options), createHtmlPlugin(options)] }