mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Merge pull request #30615 from loveky/master
Update definition for webpack-chain to match version 5.0
This commit is contained in:
commit
4f1b2db0c4
4
types/webpack-chain/index.d.ts
vendored
4
types/webpack-chain/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
// Type definitions for webpack-chain 4.8
|
||||
// Type definitions for webpack-chain 5.0
|
||||
// Project: https://github.com/mozilla-neutrino/webpack-chain
|
||||
// Definitions by: Eirikur Nilsson <https://github.com/eirikurn>, Paul Sachs <https://github.com/psachs21>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@ -209,7 +209,7 @@ declare namespace Config {
|
||||
flagIncludedChunks(value: boolean): this;
|
||||
mergeDuplicateChunks(value: boolean): this;
|
||||
minimize(value: boolean): this;
|
||||
minimizer(value: webpack.Plugin[]): this;
|
||||
minimizer(name: string): Plugin<this>;
|
||||
namedChunks(value: boolean): this;
|
||||
namedModules(value: boolean): this;
|
||||
nodeEnv(value: boolean | string): this;
|
||||
|
||||
@ -173,7 +173,9 @@ config
|
||||
.flagIncludedChunks(true)
|
||||
.mergeDuplicateChunks(true)
|
||||
.minimize(true)
|
||||
.minimizer([])
|
||||
.minimizer('foo')
|
||||
.use(webpack.DefinePlugin)
|
||||
.end()
|
||||
.namedChunks(true)
|
||||
.namedModules(true)
|
||||
.nodeEnv(true)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user