Commit Graph

4647 Commits

Author SHA1 Message Date
Joe Bottigliero c3d77bbcf3 Update webpackOptionsSchema.json
- adds `"type": "boolean",` for `stats.all`
2017-10-17 10:47:45 -05:00
Joe Bottigliero eb00961796 adds stats.all option the the webpackOptionsSchema 2017-10-17 10:31:38 -05:00
Tobias Koppers 1dc561865a 3.8.0 2017-10-17 11:15:06 +02:00
Tobias Koppers dfc34ce5f7 Merge pull request #5838 from webpack/bugfix/include-origin-in-parse-error
parser error no longer contain an absolute path
2017-10-17 11:08:30 +02:00
Tobias Koppers d96c01edcc remove absolute path from parse error 2017-10-17 10:41:09 +02:00
Tobias Koppers 64ac3f0f5a Merge pull request #5835 from jbottigliero/tests-statsCases
[tests] statsCases/module-deduplication
2017-10-17 09:33:50 +02:00
Tobias Koppers f61e7484ad Merge pull request #5837 from webpack/bugfix/async-dep-to-initial
fix behavior and add a warning when trying to load an initial chunk on demand
2017-10-17 09:33:17 +02:00
Tobias Koppers b597322e3c fix behavior and add a warning when trying to load an
initial chunk on demand
2017-10-17 09:06:05 +02:00
Joe Bottigliero 5c687cd49a [tests] statsCases/module-deduplication
- Uses `timings: false` for module-deduplication tests and updates expected output.
2017-10-16 13:48:50 -05:00
Tobias Koppers 5433b8cc78 Merge pull request #5825 from jbottigliero/fix-webpackOptionsSchema
[fix] webpackOptionsSchema
2017-10-16 15:12:02 +02:00
Joe Bottigliero 576187541a [fix] webpackOptionsSchema.json
- fixes failing stats tests by adding various options to the webpackOptionsSchema.json as well as fixing invalid options provided in test configurations.
2017-10-13 21:29:35 -05:00
Joe Bottigliero e0d4501fab [fix] webpackOptionsSchema
- Updates webpackOptionsSchema "stats" object to include "additionalProperties: false"
- Adds missing stats options
- Adds test for ensuring new stats options fail the schema check (if not included)
2017-10-13 17:12:24 -05:00
Tobias Koppers 33818bcbe4 Merge pull request #5812 from simon-paris/ignore-enoent-in-contextmodulefactory-resolvedependencies
Fix #5794 by ignoring ENOENT errors in ContextModuleFactory.addDependencies
2017-10-13 11:06:11 +02:00
Tobias Koppers 1bd8b74fb0 Merge pull request #5817 from webpack/bugfix/semetrical-chunk-reason
set chunk reasons symmetrical
2017-10-13 11:05:40 +02:00
Tobias Koppers 2d60f1379c Merge pull request #5823 from webpack/ci/exclude-old-version
Exclude testing in older versions
2017-10-13 11:05:25 +02:00
Tobias Koppers 0b6e9d284c Exclude testing in older versions
these versions are too slow
2017-10-13 11:04:39 +02:00
Tobias Koppers 0b3dfcbe42 Merge pull request #5822 from webpack/bugfix/commons-chunk-plugin
cleanup CommonsChunkPlugins changes
2017-10-13 11:00:47 +02:00
Tobias Koppers 45756a2291 set chunk reasons symmetrical 2017-10-13 10:44:08 +02:00
Tobias Koppers 4960c5ba4e cleanup CommonsChunkPlugins changes 2017-10-13 10:36:08 +02:00
Tobias Koppers f5b822530c Merge pull request #5816 from webpack/bugfix/performance-chunk-graph
improve performance by doing a breath-first traversal in the chunk graph
2017-10-12 20:52:26 +02:00
Tobias Koppers 11e28793fa improve performance by doing a breath-first traversal in the chunk graph
This is faster because shorter paths usually have less modules available.
This allows to reach minimal modules faster
2017-10-12 20:03:36 +02:00
Tobias Koppers 37af63900c Merge pull request #5811 from jbottigliero/issue-4886-3
[#4886]  --env Output
2017-10-12 17:45:27 +02:00
Joe Bottigliero 6a51535f39 [tests] adds more verbose stdout equality check (includes the --env value) 2017-10-12 08:52:47 -05:00
Simon Paris d98eea7a82 Added a test case for ContextModuleFactory.resolveDependencies 2017-10-12 14:47:17 +08:00
Joe Bottigliero f85595d0d0 [lint] remove trailing space 2017-10-11 21:37:01 -05:00
Joe Bottigliero 8171f94497 [tests] updates test.opts and test files for --env 2017-10-11 21:08:45 -05:00
Joe Bottigliero 33223aa3d4 [#4886] --env output
- Adds stats.env to enable the out put of --env arguments passed to the webpack configuration.
2017-10-11 20:37:30 -05:00
Tobias Koppers ce24e98bc0 3.7.1 2017-10-11 21:39:22 +02:00
Tobias Koppers 15fe297fb1 Merge pull request #5807 from STRML/fix/externalModule
Fix #5806, TypeError on ExternalModule hash.update
2017-10-11 21:37:41 +02:00
Samuel Reed c9bad176fd
Fix #5806, TypeError on ExternalModule hash.update
undefined must be coerced to `false`
2017-10-11 14:02:46 -05:00
Tobias Koppers 551ea76838 3.7.0 2017-10-11 20:07:28 +02:00
Tobias Koppers 32f8b6b2f7 Merge pull request #5802 from webpack/bugfix/missing-harmony-crash
fix crashes when imported module fails compiling
2017-10-11 19:06:51 +02:00
Tobias Koppers 1381f6745b fix crashes when imported module fails compiling 2017-10-11 17:22:11 +02:00
Tobias Koppers dee0774f7b Merge pull request #5717 from webpack/allow-negative-early-bail-for-context
Allow negative early bail for context
2017-10-11 17:08:33 +02:00
Tobias Koppers be72b2a8c2 Merge pull request #5753 from simon-paris/master
Fix for #5750 - Refuse to use regexes with g or y flags in contexts
2017-10-11 17:07:00 +02:00
Tobias Koppers 7ebf9314d6 Merge pull request #5786 from webpack/performance/chunks
improve chunk graph building performance
2017-10-11 17:05:20 +02:00
Tobias Koppers 48096a187a Merge pull request #5797 from webpack/bugfix/uncatched-bail
prevent crashing when error out early in bail mode
2017-10-11 15:48:38 +02:00
Tobias Koppers 2919a9cd53 prevent crashing when error out early in bail mode
fixes #5787
2017-10-11 15:28:18 +02:00
Tobias Koppers 7870bfc01d improve chunk graph building performance
document algorithm
2017-10-11 15:08:00 +02:00
Tobias Koppers d9accb450c Merge pull request #5764 from ljcrapo/commons-chunk-deep-children
Added deepChildren support from ArcEglos' pull request
2017-10-11 12:34:40 +02:00
Tobias Koppers 4795ffd1c3 Merge pull request #5795 from webpack/bugfix/graph-correctness-modules
bugfix and test for graph correctness
2017-10-11 11:54:50 +02:00
Tobias Koppers 91df794788 bugfix and test for graph correctness 2017-10-11 11:13:36 +02:00
Simon Paris 5e3039d5c9 Fix #5794 by ignoring ENOENT errors in ContextModuleFactory.addDependencies 2017-10-11 16:52:48 +08:00
Tobias Koppers 2df0bf1082 Merge pull request #5793 from webpack/bugfix/graph-correctness
fix graph correctness with multiple entries
2017-10-11 10:48:50 +02:00
Tobias Koppers 130ace8ba7 fix graph correctness with multiple entries 2017-10-11 10:01:00 +02:00
Tobias Koppers 289c19b394 Merge pull request #5784 from NMinhNguyen/bugfix/only-use-umd-externals-for-umd-library-target
Only use UMD or UMD2 externals for UMD libraryTarget. Resolve #5766
2017-10-10 23:31:08 +02:00
Tobias Koppers 1b6c7384e7 Merge pull request #5790 from webpack/test/circular-correctness
add two tests for circular correctness of the chunk graph
2017-10-10 23:27:01 +02:00
Tobias Koppers bcf86d4fca add two tests for circular correctness of the chunk graph 2017-10-10 23:10:46 +02:00
Tobias Koppers 29a80915aa Merge pull request #5783 from chuckdumont/work
Make define dependency object creation overridable.
2017-10-10 14:37:56 +02:00
Minh Nguyen 2bedd6cffa Only use UMD or UMD2 externals for UMD libraryTarget. Resolve #5766 2017-10-10 13:22:58 +01:00