Commit Graph

516 Commits

Author SHA1 Message Date
Tobias Koppers 949df5bb5a update webpack-sources types and remove second argument 2018-06-29 19:12:33 +02:00
Tobias Koppers 6e68f96d16
Merge branch 'master' into feature/type-compiler-compilation-save 2018-06-29 19:02:35 +02:00
Tobias Koppers d0c89618f3
Merge branch 'master' into feature/type-compiler-compilation-save 2018-06-27 14:58:10 +02:00
Tobias Koppers 7beac3c645
Merge branch 'master' into feature/hook-into-get-reference 2018-06-27 14:34:28 +02:00
Tobias Koppers ab7ecb30ee fixes #7499 2018-06-26 15:27:44 +02:00
Tobias Koppers 41343d1763 add TODO comments 2018-06-25 16:18:21 +02:00
Tobias Koppers be896f2b34 fix bug 2018-06-23 15:30:04 +02:00
Tobias Koppers 3502287bbb emit correct code for reexport unused exports 2018-06-23 15:13:17 +02:00
Tobias Koppers 50fe2e79ee add Compilation.getDependencyReference and hooks to override it
expose DependencyReference class
2018-06-23 15:13:14 +02:00
Tobias Koppers e1f0a66fd9 add note about webpack 5 refactoring 2018-06-23 14:47:09 +02:00
Sean Larkin c3ebef7f25
Merge branch 'master' into feature/type-compiler-compilation-save 2018-06-21 11:07:33 +03:00
Tobias Koppers 6f90257b5b
Merge pull request #7507 from webpack/feature/dependency-order
add order to dependency reference
2018-06-20 12:17:26 +02:00
Tobias Koppers 58ac64023c
Merge pull request #7558 from webpack/bugfix/split-chunks-reuse
fixes #7499
2018-06-20 10:39:39 +02:00
Tobias Koppers 3f6450410a improve error message for circular reexports
fixes #7547
2018-06-19 23:19:28 +02:00
Tobias Koppers 994613bc20 fixes #7499 2018-06-19 20:47:48 +02:00
Tobias Koppers dabbfa7c4e remove unneeded array 2018-06-08 13:21:18 +02:00
Tobias Koppers b4699c0657 add order for DependencyReference
and add types for touched code
2018-06-08 13:20:57 +02:00
Sean Larkin 1bae93852a
Merge branch 'master' into feature/type-compiler-compilation-save 2018-05-30 19:35:36 -07:00
Tobias Koppers 271fb7b543 more performant changing of reasons 2018-05-30 20:04:37 +02:00
Tobias Koppers 6390240e05 rewrite module reference correctly after replacing ConcatenatedModule
fixes #7443
2018-05-30 09:51:11 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Tobias Koppers c01cb97609 Merge commit 'ba703401d580ad623af17fe96ed98b4d801e0313'
# Conflicts:
#	test/__snapshots__/StatsTestCases.test.js.snap
2018-05-29 15:37:58 +02:00
Tobias Koppers 351c9936e6 fixup reasons when redirecting dependencies for side-effects
show reason explanation in stats

fixes #7428
2018-05-29 14:12:31 +02:00
Tobias Koppers 770847171d Merge branch 'master' into bugfix/namespace-object
# Conflicts:
#	lib/RuntimeTemplate.js
2018-05-28 22:42:21 +02:00
Tobias Koppers ae8d6741d7 fix bug with incorrectly emitted modules 2018-05-27 21:53:22 +02:00
Tobias Koppers 115a72ce50 SideEffectsPlugin don't modify cache entries
fixes #7400
2018-05-27 21:53:21 +02:00
Tobias Koppers 374376d6dc fixes #7382 2018-05-24 15:37:52 +02:00
Sean Larkin 74ba87f593
Merge branch 'master' into feature/type-compiler-compilation-save 2018-05-18 21:58:50 -07:00
Tobias Koppers 75db965170 update combination when split fails because of max requests
fixes #7323
2018-05-17 17:44:38 +02:00
Sean Larkin 761d73b4e7 chore(types): add Compiler and Compilation type support 2018-05-15 15:04:38 +02:00
Mihail Bodrov 8d1d569541 Fix remove empty 2018-05-13 02:04:06 +03:00
Mihail Bodrov 9a1eca5e20 Optimize RemoveEmptyChunksPlugin 2018-05-13 01:15:39 +03:00
Tobias Koppers d4a04b8934 Merge branch 'master' into bugfix/namespace-object
# Conflicts:
#	test/__snapshots__/StatsTestCases.test.js.snap
2018-05-09 10:27:23 +02:00
Tobias Koppers 09eb3c9de7 fix bug where splitChunks doesn't work 2018-05-07 12:39:03 +02:00
Tobias Koppers a926a19715 create better namespace objects
avoid using Object.assign (fixes #7162)
2018-05-03 12:55:00 +02:00
Tobias Koppers 05275e6e8e improve SplitChunksPlugin performance
avoid looping
better complexity for finding possible combinations
avoid creating a chunks array
caching
2018-05-01 10:54:00 +02:00
Tobias Koppers 4dabf3075f improve FlagIncludedChunksPlugin performance
using bitmasks and clever bitwise and/or for a fast "maybe contains" check
2018-05-01 10:41:27 +02:00
Tobias Koppers 4daaf6cd33 improve RemoveParentModulesPlugin performance 2018-05-01 10:41:26 +02:00
Tobias Koppers 7b81a06b83
Merge pull request #7147 from kpdecker/concat-cache
Invalidate concatenated module on dep change
2018-04-30 17:40:09 +02:00
Tobias Koppers 81c6041a89
Merge pull request #7102 from alejandroMA/bugfix/runtime-chunk-integration
fix bug where sometimes the runtime would not be present on output
2018-04-30 13:52:50 +02:00
Kevin Decker bd7652823c Invalidate concatenated module on dep change
When the moduleSet for a given concatenated module changed, the source for the embedded modules would not necessarily, which lead to caching mismatch between the source and the modulesWithInfo structure.

Fixes #6168
2018-04-28 15:32:28 -05:00
Tobias Koppers d91caea860 Pretty files for updated prettier version 2018-04-26 20:14:45 +02:00
Alejandro Madariaga Angeles 22b44463ac change Chunk.isRuntimeOnly to Chunk.preventIntegration 2018-04-25 12:45:53 -05:00
Alejandro Madariaga Angeles 3b6d7d873e fix bug where sometimes the runtime would not be present on output 2018-04-23 17:30:14 -05:00
Mohsen Azimi d677bdd0e9 pretty 2018-04-12 11:42:38 +02:00
Mohsen Azimi 6a9ee8fd4e more comment types and one actual code change 2018-04-12 11:42:37 +02:00
Florent Cailhol 36d576cc28 Update ChunkModuleIdRangePlugin to webpack 4 API 2018-04-12 10:08:25 +02:00
Florent Cailhol b8b95cfebc Use compilation instead of this 2018-04-12 09:47:54 +02:00
Tobias Koppers 2fa104f73a avoid walking scopes multiple times for performance reasons 2018-04-03 22:21:04 +02:00
Tobias Koppers 8d8da4cdff Merge branch 'master' into bump_prettier 2018-03-29 11:48:02 +02:00