Commit Graph

4781 Commits

Author SHA1 Message Date
Tobias Koppers cce33c206a 3.12.0 2018-05-11 16:50:45 +02:00
Tobias Koppers 074cff81d8
Merge pull request #7216 from jordwest/webpack-3
Fix regression in Compilation.sortModules
2018-05-07 08:22:34 +02:00
Jordan West 552d05e268 lint fix 2018-05-07 11:54:36 +10:00
Jordan West fbfe2069bf consistent function style 2018-05-07 11:51:29 +10:00
Jordan West a485103d48 Fix regession in Compilation.sortModules
This reverts the accidental change introduced
in webpack/webpack#6203 which sorted modules
by `id` instead of `index`.

See also: webpack/webpack#7194
2018-05-07 11:25:07 +10:00
Tobias Koppers 645400a6bb
Merge pull request #7083 from justinhelmer/bug/6919
hot.accept parser stops traversing based on number of args
2018-04-30 21:37:17 +02:00
Tobias Koppers 1fa85a8684 test webpack-3 branch too 2018-04-30 13:58:35 +02:00
Justin Helmer 8ae762bb47 hot.accept parser stops traversing based on number of args 2018-04-19 10:00:07 -07:00
Tobias Koppers f01054664f update examples 2018-02-10 15:40:10 +01:00
Tobias Koppers bc840ec874 3.11.0 2018-02-10 15:37:11 +01:00
Tobias Koppers 9323ee6868
Merge pull request #6398 from addaleax/no-binding
Avoid relying on Node’s internals
2018-02-01 17:31:00 +01:00
Tobias Koppers c7cbc3598c
Merge pull request #6430 from jbottigliero/update/ajv
update ajv + ajv-keywords
2018-02-01 17:09:52 +01:00
Joe Bottigliero 61b75b7ce6 update ajv + ajv-keywords
- updates to `ajv@6.1.0`
- updates to `ajv-keywords@3.1.0` (required for _better_ validation in webpack/webpack-cli#240)
2018-01-31 15:42:42 -06:00
Anna Henningsen 8da8b93ed4 Work around Node environment variable bug
Work around https://github.com/nodejs/node/pull/18463 by
detecting the conditions under which the bug occurs and
performing a simple operation that resets the error state
if necessary.
2018-01-30 22:02:47 +01:00
Tobias Koppers ddb1fad582
Merge pull request #6408 from ocombe/fix/#6407-empty-array
fix(ConcatenatedModule): don't throw on arrays with empty values
2018-01-29 21:40:05 +01:00
Olivier Combe 2aebfbe48c fix(ConcatenatedModule): don't throw on arrays with empty values
Fixes #6407
Fixes #5415
Ref https://github.com/angular/angular/issues/21809
2018-01-29 15:52:01 +01:00
Tobias Koppers 3972d9ae73
Merge pull request #6391 from nerdkid93/patch-1
change polymer loader link
2018-01-28 22:09:52 +01:00
Anna Henningsen e4375f8833
Avoid relying on Node’s internals
`process.binding()` is not a public API, and should
not be used.

Luckily, Node recently introduced an API that does
exactly what Webpack needs:
https://nodejs.org/api/modules.html#modules_module_builtinmodules

So use that instead and keep the old path as a fallback.
2018-01-27 22:10:36 +01:00
Christopher Beam 0dd1727d66
change polymer loader link
current polymer loader link is unmaintained, switch to maintained loader
2018-01-26 16:00:12 -05:00
Tobias Koppers 33f518bb25
Merge pull request #6300 from nename0/fix-6243
Fix #6243: TemplatedPathPlugin: Don't include initial chunks in chunkhash computation
2018-01-22 05:46:15 +01:00
Tobias Koppers 80ed1c4b91
Merge pull request #6335 from Connormiha/banner-plugin-optimize
Minor optimize banner plugin
2018-01-19 09:01:50 +01:00
Mihail Bodrov 5d93c535c8 Minor optimize banner plugin 2018-01-18 23:47:04 +03:00
nename0 1895b76dfc Add Tests checking chunkhash of runtime chunk only changes if needed 2018-01-12 23:50:47 +01:00
nename0 dc7ebeb8d0 Fix #6243: Don't include initial chunks in chunkhash computation 2018-01-11 20:10:10 +01:00
Tobias Koppers b545b519b2
Merge pull request #6242 from nename0/6239-require-ensure-initial-chunks
WIP: Fix: require-ensure should not include initial chunks
2018-01-04 21:43:11 +01:00
Tobias Koppers b059e07cf9
Merge pull request #6176 from mikegreiling/fix-no-fail-on-child-compilation-error
Fix issue in which webpack exits with code 0 when errors exist in child compilations
2018-01-04 20:19:57 +01:00
nename0 64c4350694 Update StatsTestCases 2018-01-04 20:18:27 +01:00
Tobias Koppers 8b0a2ad2b3
Merge pull request #6225 from neeharv/feature/async-script-type
add support for new output option jsonpScriptType
2018-01-04 20:05:30 +01:00
nename0 d1e0bec48e Fix: the require-ensure only includes non-initial chunks 2018-01-04 19:25:03 +01:00
Neehar Venugopal 21b5a026ba stringify jsonpScriptType option 2018-01-04 20:06:24 +05:30
Neehar Venugopal 8eb0bb675e move default script type option to WebpackOptionsDefaulter 2018-01-04 20:00:50 +05:30
Neehar Venugopal be327f9718 lint fixes 2018-01-03 15:39:05 +05:30
Tobias Koppers 9a0da7bcf3
Merge pull request #6199 from MagicPoulp/issue-6163-update-contributing-doc-for-long-discussions
Addition of documentation for CONTRIBUTING.md/Discussions
2018-01-02 14:14:38 +01:00
Thierry Vilmart 12ccba878b Addition of documentation for CONTRIBUTING.md/Discussions 2018-01-02 12:32:35 +01:00
Tobias Koppers 5083e049a8
Merge pull request #6210 from brunoabreu/fix/hot-signal-warning
Fix bluebird warning in hot/signal
2018-01-02 09:43:30 +01:00
Neehar Venugopal 06c19e9565 add support for new output option jsonpScriptType 2017-12-31 17:13:59 +05:30
Tobias Koppers 1ffcd28c0e
Merge pull request #6208 from nikolenkoanton92/add-awesome-ts-for-doc
Added Awesome Typescript Loader to Readme
2017-12-29 16:46:14 +01:00
Bruno Abreu 92e36150a7 Fix bluebird warning in hot/signal 2017-12-29 12:13:45 -02:00
Anton Nikolenko 9d688fcd2a Added Awesome Typescript Loader to Readme 2017-12-28 21:03:54 -08:00
Tobias Koppers 6a69091189
Merge pull request #6203 from hyphaene/patch-1
Refresh code of Compilation.js
2017-12-28 18:08:03 +01:00
Maximilien Garenne c4fa27b451 fix lint errors 2017-12-28 14:38:03 +01:00
Maximilien Garenne 71d12979e4
Refresh code of Compilation.js
I replaced some let by const, removed some unecessary this bindings, rewrote the part with self by this with paying attention to keep the binding to this.
2017-12-28 11:39:29 +01:00
Mike Greiling da6dba2474 fix mixture of tabs and spaces 2017-12-28 04:19:44 -06:00
Mike Greiling d2c3049166 add test for exit status when encountering child compilation error 2017-12-28 04:06:58 -06:00
Mike Greiling 71efc0db63 update NoEmitOnErrorsPlugin to recognize child compilation errors, add tests 2017-12-28 03:41:42 -06:00
Mike Greiling aaaa4c30cf fix filename reference for StatsTestCases.test.js 2017-12-27 23:01:06 -06:00
Tobias Koppers 30329fb364
Merge pull request #6193 from crvv/master
Fix webpack hanging under certain circumstance, use process.exitCode instead of process.exit in compilerCallback
2017-12-27 18:04:52 +01:00
Tobias Koppers 1468567922
Merge pull request #6198 from EugeneHlushko/refactor/es6-bench-dir
refactor(es6): benchmark directory
2017-12-27 17:59:16 +01:00
EugeneHlushko 9a185e9d34 refactor(es6): benchmark directory 2017-12-27 16:54:59 +02:00
Wèi Cōngruì 3823eae5b0 Use process.exitCode instead of process.exit in compilerCallback 2017-12-26 13:54:26 +08:00