Commit Graph

35 Commits

Author SHA1 Message Date
Anton Kandybo
62c57736f1 Added ProgressPlugin definition (#14897) 2017-03-09 23:22:09 -08:00
Benjamin Lim
fd064c94d5 fix: AggressiveMergingPlugin 2017-03-09 05:23:06 +08:00
Mine Starks
3e3d0ccc5f Merge pull request #14593 from tommytroylin/patch-1
[webpack] Update BannerPlugin definition
2017-03-06 17:58:29 -08:00
Andy
555ea54770 Lint test files too (#14791) 2017-02-23 07:15:16 -08:00
Tommy Troy Lin
d3b1b0ea66 Update webpack-tests.ts 2017-02-14 16:41:34 +08:00
Tommy Troy Lin
ddc2a2f922 Update webpack-tests.ts 2017-02-14 16:00:05 +08:00
Tommy Troy Lin
592b7f26f9 Update tests 2017-02-13 19:15:26 +08:00
Benjamin Lim
ad66bed9da feat: add Watching, MultiCompiler, and MultiWatching types to webpack function return type
- add Compiler, Watching classes
 - add Plugin abstract class
 - change plugins to extend Plugin

BREAKING CHANGE:
 - change Plugin apply param type from Webpack to Compiler
 - remove plugin static types
 - remove Webpack and Optimize interfaces
2017-02-08 03:06:23 +08:00
Benjamin Lim
4990f2dcfa refactor: move PerformanceOptions into Options namespace 2017-02-08 02:27:58 +08:00
Benjamin Lim
f0bebc6824 chore: remove overloaded CommonsChunkPlugin constructor
d7384e2f6a/lib/optimize/CommonsChunkPlugin.js (L10-L25)
2017-02-08 02:27:07 +08:00
Benjamin Lim
f522cb689b chore: remove ResolverPlugin 2017-02-08 02:27:07 +08:00
Benjamin Lim
dca6783921 chore: remove LabeledModulesPlugin
BREAKING CHANGE: remove webpack.Dependencies interface
2017-02-08 02:26:53 +08:00
Benjamin Lim
2b25f6b2b8 chore: remove OccurenceOrderPlugin 2017-02-08 02:26:52 +08:00
Benjamin Lim
7463c5be2d fix: pass failing tests
remove undefined from LoaderContext.callback type
2017-02-08 02:26:35 +08:00
Benjamin Lim
c42802e29d style: fix indentation 2017-02-08 02:24:08 +08:00
Mohsen Azimi
a70e784fec
fix test 2017-01-24 14:59:01 -08:00
Matt Lewis
02c09ed9d8 webpack: add missing uglifyjs plugin typings (#14177) 2017-01-22 18:19:26 -08:00
Shlomi Assaf
961360f1ec webpack: Loader API (#13697) 2017-01-18 13:11:41 -08:00
Boris Cherny
7fd79c061f update webpack typings (#14092) 2017-01-18 12:55:34 -08:00
Benjamin Lim
e75f2831a3 feat: add performance options to webpack 2017-01-15 23:22:20 +08:00
Matt Lewis
f011d2dc0f Webpack2 typings update (#13953)
* webpack: add the NoEmitOnErrorsPlugin alias and mark NoErrorsPlugin as deprecated

* webpack: add LoaderOptionsPlugin

* webpack: bump version number to 2.2

* webpack: add myself to authors list
2017-01-13 10:50:11 -08:00
Diogo Franco (Kovensky)
8657cad7f2 Add test 2016-12-01 11:51:16 +09:00
Diogo Franco (Kovensky)
290d0984f8 Improve tests and documentation 2016-12-01 11:51:16 +09:00
Philipp A
df177d2915 Upgrade webpack to 2.0
Add extract-text-webpack-plugin

Refs:
https://webpack.js.org/configuration/module/
https://github.com/webpack/webpack/blob/master/schemas/webpackOptionsSchema.json
https://github.com/webpack/extract-text-webpack-plugin#readme
2016-11-15 09:18:40 +01:00
Ryan Cavanaugh
e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Evan Sebastian
da28561597 webpack: Add OccurrenceOrderPlugin as Webpack optimizer (#9365)
* Add OccurrenceOrderPlugin

* Add deprectation notice
2016-05-23 12:55:35 +09:00
Ryan Cavanaugh
fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Akim McMath
75192c91a9 Webpack: Make Resolve.alias optional
The alias property on the Resolve interface was incorrectly declared
as required. This commit makes it optional.

Files changed:
 - webpack/webpack.d.ts: Set Resolve.alias to optional
 - webpack/webpack-tests.ts: Add new test which would have failed
   but now passes

Documentation: https://webpack.github.io/docs/configuration.html#resolve-alias
2016-03-20 23:07:07 -07:00
tkqubo
51868917c7 feat: add node.js api definitions 2016-01-25 13:38:35 +09:00
Jungman
95c02169ba Add missing properties for webpack 2015-12-19 20:35:43 +09:00
tkqubo
b5956f2bef Revert "Merge webpack-env.* into webpack.*"
This reverts commit b123aa5469.
2015-10-15 23:54:55 +09:00
tkqubo
b123aa5469 Merge webpack-env.* into webpack.* 2015-10-11 14:41:32 +09:00
tkqubo
1025e20d03 Add plugins 2015-09-23 23:14:28 +09:00
tkqubo
d0336ac511 Add more typings to webpack 2015-09-23 19:22:13 +09:00
tkqubo
d12ff571bf Add webpack 2015-09-23 19:22:13 +09:00