Commit Graph

102 Commits

Author SHA1 Message Date
Christophe Hurpeau
2f1a4cda5c webpack: Add Configuration.Resolve.cacheWithContext (#25209)
https://webpack.js.org/configuration/resolve/#resolve-cachewithcontext
2018-04-24 16:00:59 -07:00
Jiaren Liu
b2d16a83b3 add resourceQuery for webpack loader 2018-03-25 11:04:38 +08:00
Mine Starks
70bf8a8612
Merge pull request #24360 from alan-agius4/feature/uglify-3
feat: add types for `UglifyJS` V3
2018-03-22 12:25:34 -07:00
Alan Agius
c2fd8880d7 feat: add types for UglifyJS V3 2018-03-22 19:39:13 +01:00
eivindh
5b64d8fb14 Fixed SplitChunksOptions.cacheGroups not accepting dictionary 2018-03-18 12:56:34 +01:00
Andrew Pinkham
c0cfefc595
webpack v3: revert filename requirement
Necessary for partial configurations.
2018-03-14 14:39:17 -04:00
Andrew Pinkham
b822a843fb
webpack v3: require output filename; add hash opts 2018-03-14 14:35:56 -04:00
Andrew Pinkham
16f23e36a5
webpack: Add hash options to config 2018-03-14 11:44:31 -04:00
Armando Aguirre
23285947d5
Merge pull request #24092 from dennispg/webpack-v4-plugin-authoring-typedefs
webpack v4 plugin authoring typedefs
2018-03-09 15:59:26 -08:00
Dennis George
81514fb7bc added multiple type params for Tapable, webpack.compilation namespace 2018-03-06 19:19:52 -06:00
Dennis George
346be5d729 updated to new Tapable export approach 2018-03-06 17:54:01 -06:00
Dennis George
c8357c63f6 updated TS version to 2.3 for all webpack consumers 2018-03-05 18:59:53 -06:00
Armando Aguirre
a2628f5630
Merge pull request #23958 from dennispg/master
Updates for webpack 4.0
2018-03-05 15:27:39 -08:00
Dennis George
ec8691b39d added Compiler and Compilation hooks defs 2018-03-05 16:25:58 -06:00
Patrick Metcalfe
3d5b4b45b0
Webpack Definition: Fix typo in comment 2018-03-02 16:07:05 -08:00
Dennis George
e8c0f80ed3 added SplitChunkPlugin 2018-03-01 15:29:39 -06:00
Dennis George
a6df8354c2 Updated against webpack v4 options schema.json 2018-02-27 17:16:10 -06:00
Dennis George
f544c1287b fixed tests for webpack v4 2018-02-27 16:19:25 -06:00
Dennis George
ba0d049c49 Added newline back to webpack v3 definition 2018-02-27 15:59:15 -06:00
Dennis George
76cfb34e13 updated webpack to be 4.0 specific; added v3 subfolder for old version 2018-02-27 15:48:32 -06:00
Dennis George
be525690a8 updated for webpack 4.0 added optimization.minimizer option 2018-02-27 14:18:59 -06:00
Dennis George
ee6770df50 updated webpack 4.0 optimization options comments for linter 2018-02-27 13:51:14 -06:00
Dennis George
9b593e264d updated for webpack 4.0 2018-02-27 13:43:11 -06:00
Alan Agius
f7e46ef1c4
Set source-maps to 0.6.x 2018-02-15 19:28:25 +01:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Daniel Rosenwasser
81052ed65f
Merge pull request #23543 from jason0x43/webpack-loader
Fix Loader type in webpack
2018-02-13 16:22:53 -08:00
Alan Agius
329e75252a webpack: remove lint overrides 2018-02-12 18:02:21 +01:00
Alan Agius
55898119ea webpack: remove union types with type any 2018-02-12 17:52:36 +01:00
Jason Cheatham
147e526e7d Restore tslint rules to webpack plugin 2018-02-10 12:14:49 -05:00
Jason Cheatham
0c415565f3 Make webpack package private. 2018-02-10 12:07:42 -05:00
Jason Cheatham
63af4393ec Use RawSourceMap rather than object in tests, remove TS version line
The default TS 2.1 compat doesn't understand `object`, but specifying
version 2.2 breaks other types that depend on this one.
2018-02-10 11:52:31 -05:00
Jason Cheatham
fe7e66e3ae Update webpack typings to fix build issues
* Add TypeScript version line
* Remove some non-functional linter rules
2018-02-10 11:30:14 -05:00
Jason Cheatham
4a856368ec Fix Loader type in webpack
The sourcemap parameter passed to loaders, and that loaders pass to the
callback, is a `RawSourceMap`, not a `string | Buffer`.
2018-02-09 13:11:52 -05:00
Andy
2a9d2f8d59
Convert more "import *" to "import =" (#23446) 2018-02-05 18:27:31 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Wesley Wigham
422003f3c5 Use import require when call or construct signatures are needed to improve compat with esModuleInterop (#23355)
* Use import require when call or construct signatures are needed to improve compat with esModuleInterop

* Add moment-timezoe fix
2018-02-02 14:09:06 -08:00
Oliver Joseph Ash
39150f4ac8 webpack: WatchOptions.ignored accepts string[] (#23214)
https://webpack.js.org/configuration/watch/#watchoptions-ignored
https://github.com/micromatch/anymatch
2018-01-26 09:01:36 -08:00
Spencer Elliott
c2ce00278b Define webpack.ProgressPlugin handler with all 5 arguments (#22936)
webpack can pass up to 5 arguments to the progress handler:
b545b519b2/lib/ProgressPlugin.js (L41-L46)

For example, simple-progress-webpack-plugin uses all 5 arguments:
246f479596/logger/verbose-logger.js (L23)
2018-01-17 09:47:22 -08:00
Cory Deppen
e22c9e0482 Add missing compilers property to MultiCompiler (#22521)
Based on the Webpack source, the `MultiCompiler` class has a [`compilers` property](69e0844028/lib/MultiCompiler.js (L21)).
2018-01-02 14:43:52 -08:00
Alan Agius
765e50e7fd
fix(webpack): fix incorrect types 2017-11-08 12:16:52 +01:00
Alan Agius
73890010c2 webpack: moduleTrace should be a boolean 2017-10-27 07:57:57 +02:00
Alan Agius
efee39e229 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped into feature/webpack-multicompiler
# Conflicts:
#	types/webpack-stream/index.d.ts
#	types/webpack/index.d.ts
2017-10-24 07:55:16 +02:00
Alan Agius
7907550eec webpack: fix tests 2017-10-24 07:49:45 +02:00
Alan Agius
126eac680e webpack: fix lint issues and remove some deprecated stuff 2017-10-24 07:45:49 +02:00
Andy
6274f3d980 webpack-*: Fix lint (#20831) 2017-10-23 07:33:51 -07:00
Alan Agius
f3feb4be94 webpack: update warningsFilter 2017-10-22 15:39:02 +02:00
Alan Agius
0a5138eb79 webpack: fix lint issues 2017-10-22 15:36:43 +02:00
Alan Agius
418ccd2c0c webpack: update header 2017-10-22 15:31:12 +02:00
Alan Agius
346ab19216 webpack: add update API 2017-10-22 15:30:27 +02:00
Alan Agius
9e4fd891d5 fix(webpack): MultiCompiler extends Tapable
69e0844028/lib/MultiCompiler.js (L12)
2017-10-21 10:51:01 +02:00