Commit Graph

93 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
andy-ms
3a043886ea Fix broken tests 2017-03-07 17:09:56 -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
Mohsen Azimi
c093ee6b11 Add options to AggressiveMergingPlugin 2017-02-14 22:00:38 -08:00
Tommy Troy Lin
d3b1b0ea66 Update webpack-tests.ts 2017-02-14 16:41:34 +08:00
Tommy Troy Lin
e4454f702e Update index.d.ts 2017-02-14 16:40:09 +08:00
Tommy Troy Lin
ddc2a2f922 Update webpack-tests.ts 2017-02-14 16:00:05 +08:00
Tommy Troy Lin
ad6ef1cd46 Update to comply with @bumbleblym' s suggestions 2017-02-14 15:54:42 +08:00
Tommy Troy Lin
592b7f26f9 Update tests 2017-02-13 19:15:26 +08:00
Tommy Troy Lin
affaaeb107 Add myself to Definitions by 2017-02-13 18:46:39 +08:00
Tommy Troy Lin
ce8ec50aab Update BannerPlugin definition
Fix webpack/lib/BannerPlugin.js:19
Error: BannerPlugin only takes one argument (pass an options object)
2017-02-13 18:00:28 +08:00
Benjamin Lim
5c432057da feat: add Stats preset options
- add Stats abstract class
 - move stats options into Stats namespace
2017-02-08 03:11:07 +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
b2f1625784 refactor: move WatchOptions into Options namespace 2017-02-08 02:28:08 +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
Benjamin Lim
469a20b7a7 style: fix lint errors 2017-02-08 02:24:08 +08:00
Benjamin Lim
01208d2b66 chore: update tsconfig/tslint config 2017-02-08 02:24:08 +08:00
Mohsen Azimi
a70e784fec
fix test 2017-01-24 14:59:01 -08:00
Mohsen Azimi
c960430ff9 Fix typo in webpack PerformanceOptions
s/maxEntryPointSize/maxEntrypointSize
2017-01-24 13:43:22 -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
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Benjamin Lim
a1c40dc709 chore: disable tslint rules 2017-01-15 23:51:16 +08:00
Benjamin Lim
73e0c1cae3 style: fix lint errors 2017-01-15 23:23:05 +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
Andy Hanson
2e869dbdc0 Merge branch 'types-2.0' into merge_28dec 2016-12-28 12:38:06 -08:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Diogo Franco (Kovensky)
8657cad7f2 Add test 2016-12-01 11:51:16 +09:00
Diogo Franco (Kovensky)
b1b7a21628 Add webpack 2 resolve options 2016-12-01 11:51:16 +09:00
Diogo Franco (Kovensky)
a4418754d2 Use interface instead of object type alias 2016-12-01 11:51:16 +09:00
Diogo Franco (Kovensky)
404687e0b7 Give more specific definition to DefinePlugin and ProvidePlugin 2016-12-01 11:51:16 +09:00
Diogo Franco (Kovensky)
290d0984f8 Improve tests and documentation 2016-12-01 11:51:16 +09:00
Diogo Franco (Kovensky)
952199d4db Simplify plugins declaration (all functions can apply) 2016-12-01 11:51:15 +09:00
Diogo Franco (Kovensky)
0d539ec56f More accurate {Eval,}SourceMapDevToolPluginStatic definitions 2016-12-01 11:51:15 +09:00
Diogo Franco (Kovensky)
63e51c20e0 Trim trailing whitespace 2016-12-01 11:51:15 +09:00
Diogo Franco (Kovensky)
1f921fb60c Add missing types 2016-12-01 11:51:15 +09:00
Diogo Franco
72e4a88a3d Webpack plugins are Tapable plugins 2016-12-01 11:51:15 +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
Kanchalai Tanglertsampan
1200f753d6 Merge branch 'master' into types-2.0
# Conflicts:
#	.gitignore
#	ajv/ajv.d.ts
#	angular-material/angular-material.d.ts
#	angular-protractor/angular-protractor.d.ts
#	angularjs/angular-tests.ts
#	angularjs/angular.d.ts
#	aws-sdk/aws-sdk.d.ts
#	electron-devtools-installer/electron-devtools-installer-tests.ts
#	electron-json-storage/electron-json-storage-tests.ts
#	electron-notifications/electron-notifications.d.ts
#	electron-notify/electron-notify.d.ts
#	electron-window-state/electron-window-state.d.ts
#	electron/electron-prebuilt.d.ts
#	enzyme/enzyme.d.ts
#	eventemitter3/eventemitter3-tests.ts
#	eventemitter3/eventemitter3.d.ts
#	graphql/graphql.d.ts
#	highcharts/highcharts.d.ts
#	immutable/immutable.d.ts
#	inquirer/inquirer.d.ts
#	jasmine/jasmine.d.ts
#	joi/joi.d.ts
#	jquery.dataTables/jquery.dataTables-tests.ts
#	jquery.dataTables/jquery.dataTables.d.ts
#	kafka-node/kafka-node.d.ts
#	kefir/kefir.d.ts
#	kendo-ui/kendo-ui.d.ts
#	koa/koa.d.ts
#	leaflet/leaflet.d.ts
#	lodash/lodash.d.ts
#	mapbox-gl/mapbox-gl.d.ts
#	material-ui/material-ui.d.ts
#	menubar/menubar.d.ts
#	mongodb/mongodb.d.ts
#	needle/needle-tests.ts
#	needle/needle.d.ts
#	noble/noble.d.ts
#	node/node.d.ts
#	pegjs/pegjs.d.ts
#	pixi.js/pixi.js.d.ts
#	polymer/polymer.d.ts
#	quill/quill-tests.ts
#	quill/quill.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-fa/react-fa-tests.tsx
#	react-fa/react-fa.d.ts
#	react-native/react-native.d.ts
#	react-select/react-select.d.ts
#	react/react.d.ts
#	threejs/three-vrcontrols.d.ts
#	threejs/three-vreffect.d.ts
#	toastr/toastr.d.ts
#	validator/validator.d.ts
#	webpack/webpack.d.ts
#	winston/winston.d.ts
2016-11-09 17:20:41 -08:00
Mohsen Azimi
9f18cfbe98 Add stats to config (#12023)
* Add stats to config 

Reference 
https://github.com/webpack/extract-text-webpack-plugin/issues/35#issuecomment-176689891

* Update webpack.d.ts
2016-10-25 23:22:20 +09:00