Merge pull request #21450 from tlaziuk/html-webpack-plugin

[html-webpack-plugin] upgrade to v2.30
This commit is contained in:
Nathan Shively-Sanders
2017-11-17 16:13:05 -08:00
committed by GitHub

View File

@@ -1,6 +1,8 @@
// Type definitions for html-webpack-plugin 2.30
// Project: https://github.com/ampedandwired/html-webpack-plugin
// Definitions by: Simon Hartcher <https://github.com/deevus>, Benjamin Lim <https://github.com/bumbleblym>
// Definitions by: Simon Hartcher <https://github.com/deevus>
// Benjamin Lim <https://github.com/bumbleblym>
// Tomek Łaziuk <https://github.com/tlaziuk>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { Plugin } from 'webpack';
@@ -35,7 +37,7 @@ declare namespace HtmlWebpackPlugin {
cache?: boolean;
/**
* Allows to control how chunks should be sorted before they are included to the html.
* Allowed values: `'none' | 'auto' | 'dependency' | {function}` - default: `'auto'`
* Allowed values: 'none' | 'auto' | 'dependency' |'manual' | {function} - default: 'auto'
*/
chunksSortMode?: 'none' | 'auto' | 'dependency' | 'manual' | ChunkComparator;
/** Allows you to add only some chunks (e.g. only the unit-test chunk) */