Commit Graph
63 Commits
Author SHA1 Message Date
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
https://github.com/webpack/webpack/blob/69e0844028950e1316fb4ed9f4ac4593ecc205b3/lib/MultiCompiler.js#L12
2017-10-21 10:51:01 +02:00
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Nathan Shively-Sanders b8ea87c68e Strict function variance fixes round 1 2017-10-02 15:50:34 -07:00
ohze.net 190c5341a5 add webpack.optimize.UglifyJsPlugin.Options.parallel (#20176) 2017-10-02 10:32:58 -07:00
Ahmed T. Ali a82b876e9c (webpack): add missing possible 'entry' types (#19977)
* fix(webpack): add missing possible 'entry' types

resolves #19972

* style(webpack): fix spacing

* style(webpack): add parentheses

I've added parentheses around the return type of `EntryFunc` to clarify
the correct type is `() => (...types)` not `(() => string) | ...types`
2017-09-25 12:19:32 -07:00
Djemel 54cfc26a91 @types/webpack - output.library should allow both string and string[] (#19959)
output.library allows for string array like this
    output: {
        filename: './dist/dist.js',
        library: ['namespaceA', 'solutionA']
    }
2017-09-25 12:19:08 -07:00
Avi Vahl c3bb037cc6 webpack: improve loader context typings
emitError() and emitWarning() both can accept an Error as well, for exposing caught Errors.
See: https://github.com/webpack/webpack/blob/master/lib/NormalModule.js#L115

Added relevant type tests.
2017-09-17 13:30:38 +03:00
Andy 69bf6eb0ed Add more tslint disables (#19590) 2017-09-06 09:44:12 -07:00
Andy da000daaf0 webpack: Fix tests (#19218) 2017-08-28 12:39:19 -07:00
Daniel Rosenwasser 6b4d306b45 Merge pull request #19013 from bijanvakili/fix-webpack-watchignoreplugin-list
WatchIgnorePlugin constructor should allow array of string paths
2017-08-21 21:27:31 -07:00
Daniel Rosenwasser 69e1f86c23 Fix up linting issue regarding array types. 2017-08-21 21:21:53 -07:00
Bijan Vakili 83615efbef Fix WatchIgnorePlugin constructor to allow heterogeneous array of string and RegExp entries 2017-08-20 20:25:04 -07:00
Andy 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Bijan Vakili 13934bdb99 Fix webpack WatchIgnorePlugin constructor arguments to allow providing an array of string paths 2017-08-16 00:51:07 -07:00
IAMtheIAM fdeb1336e3 fix typo 2017-08-15 14:18:16 -07:00
Bijan Vakili 8414ffb817 Fix webpack's DllReferencePlugin.Options to allow manifest to be a string to support paths (#18902) 2017-08-14 11:17:21 -07:00
Andrew Casey a8975975df Merge pull request #18702 from jcreamer898/patch-1
Add HashedModuleIdsPlugin to webpack definitions
2017-08-09 10:41:39 -07:00
Jonathan Creamer 2ca09c9734 Add tests, run lint 2017-08-09 09:50:18 -05:00
Ismail Syed be6ad265d0 PR fixes: optional nameResolver and chunk: any 2017-08-07 23:20:02 -04:00
Ismail Syed 68b08dcd2d Add namedResolver function params and return type 2017-08-07 22:33:25 -04:00
Ismail Syed 6a6ec76be3 Add constructor param 2017-08-07 18:35:46 -04:00
Jonathan Creamer 3f81c4a3b7 Add HashedModuleIdsPlugin to webpack definitions 2017-08-07 11:46:58 -05:00
Ismail Syed e189253e24 Add NamedChunksPlugin (#18644) 2017-08-04 16:24:47 -07:00
Mohsen Azimi cc903d089f Some improvements to webpack configuration (#18118)
* Some improvements to webpack configuration 

`"name"` property schema:

https://github.com/webpack/webpack/blob/master/schemas/webpackOptionsSchema.json#L822-L825

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2017-07-21 19:18:30 -07:00
Benjamin Lim a4fd4c5f54 feat: add Devtool options type
Closes #17387
2017-07-09 15:53:58 +08:00
Ron Buckton db6fbe9281 Merge pull request #17821 from mohsen1/patch-23
make devtoolModuleFilenameTemplate accept a function
2017-07-07 17:31:11 -07:00
Mohsen Azimi 1f359f76e7 Update index.d.ts 2017-07-07 10:16:34 -07:00
Mohsen Azimi 0d0eb743b7 Update index.d.ts 2017-07-07 10:15:16 -07:00
Mohsen Azimi 5e2a11a1e4 Update index.d.ts 2017-07-07 09:21:33 -07:00
Mohsen Azimi a94cfa398b add strictExportPresense to module of webpack
Reference 
https://github.com/Timer/webpack/blob/master/schemas/webpackOptionsSchema.json#L222-L224
2017-07-06 18:52:30 -07:00
Mohsen Azimi 8d32ba9f6b make devtoolModuleFilenameTemplate accept a function
Reference 
https://github.com/facebookincubator/create-react-app/blob/567d981ee28188a78731b4c45aedaa60b22a03bd/packages/react-scripts/config/webpack.config.dev.js#L81
2017-07-06 18:30:14 -07:00
Paul van Brenk 2fdcef7e6d Merge pull request #17526 from donaldpipowitch/patch-8
performance.hints in webpack can't be true
2017-06-27 13:45:32 -07:00
Paul van Brenk 630ff7a494 Merge pull request #17527 from donaldpipowitch/patch-9
enhance targets for webpack
2017-06-27 13:43:57 -07:00
Matt Lewis 1c4ffe1b60 webpack: remove myself from the authors list 2017-06-27 15:08:50 +01:00
Donald Pipowitch d28f0c306c Update index.d.ts 2017-06-27 13:06:05 +02:00
Donald Pipowitch 6f9e67bb18 Update index.d.ts 2017-06-27 13:01:41 +02:00
Mohsen Azimi 40376cc6a2 Update index.d.ts 2017-06-19 17:42:13 -07:00
Mohsen Azimi a5a635ce74 😚 2017-06-19 14:21:08 -07:00
Mohsen Azimi 7871d4a426 Update index.d.ts 2017-06-19 10:46:07 -07:00
Mohsen Azimi 6db93d5d37 Update index.d.ts 2017-06-19 10:37:13 -07:00