Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Add config.output.globalObject type (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
imyelo authored and eliperelman committed Mar 7, 2019
1 parent 6ce366f commit 90a59a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ declare namespace Config {
devtoolFallbackModuleFilenameTemplate(value: any): this;
devtoolLineToLine(value: any): this;
devtoolModuleFilenameTemplate(value: any): this;
globalObject(value: string): this;
hashFunction(value: string): this;
hashDigest(value: string): this;
hashDigestLength(value: number): this;
Expand Down
1 change: 1 addition & 0 deletions types/test/webpack-chain-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ config
.devtoolLineToLine('')
.devtoolModuleFilenameTemplate('')
.filename('main.js')
.globalObject('global')
.hashFunction('md5')
.hashDigest('md5')
.hashDigestLength(15)
Expand Down

0 comments on commit 90a59a7

Please sign in to comment.