mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-12 22:36:10 +08:00
Merge pull request #21450 from tlaziuk/html-webpack-plugin
[html-webpack-plugin] upgrade to v2.30
This commit is contained in:
6
types/html-webpack-plugin/index.d.ts
vendored
6
types/html-webpack-plugin/index.d.ts
vendored
@@ -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) */
|
||||
|
||||
Reference in New Issue
Block a user