Commit Graph

18 Commits

Author SHA1 Message Date
Tobias Koppers e8da87d2c8 refactor AMDRequireDependency and make it serializable 2018-10-18 15:30:54 +02:00
Tobias Koppers f23ce49040 remove module argument from AsyncDepBlock
reorder/remove arguments of ImportDepBlock, AMDRequireDepBlock, RequireEnsureDepBlock
2018-10-17 23:07:01 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Florent Cailhol 269a911518 Define missing fields on AMD classes 2018-04-10 22:27:28 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Tobias Koppers 18ae73dad4 Refactor chunk graph
Chunks are now always in ChunkGroups
ChunkGroups have parents and children, Chunks no longer have this
AsyncDependenciesBlocks point to a ChunkGroup instead of a list of chunks
Entrypoint is now a ChunkGroup (extends from it)
move stuff graph modification methods into GraphHelpers
Change chunk id recording to source-based
Chunks have parents, siblings and children in Stats
rename AutomaticCommonsChunksPlugin to SplitChunksPlugin
add request property to origin (ChunkGroup)
remove moveToParent from AggressiveMergingPlugin
fix issues with AggressiveSplittingPlugin
remove CommonsChunkPlugin
add optimization.runtimeChunk (RuntimeChunkPlugin)
fix a filename bug for initial chunks
remove extract-text-webpack-plugin from test suite
add DebugHash to help debugging hash issues
fix issues with entry modules in different chunk as runtime
redo optimization.splitChunks options
Compilation.entrypoints is now a Map
Compilation.chunkGroups has been added
remove some unittests
update examples
update tests with CommonsChunkPlugin
2018-01-19 19:21:30 +01:00
Tim Sebastian 9b772b44e9 use const where applicable in AsyncDependenciesBloc 2017-02-05 10:13:42 +11:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
ritikrishu 0e90586219 refactoring AMDRequireDependenciesBlock to es6 syntax (#3832) 2017-01-07 22:07:00 -06:00
Tobias Koppers 28d3a1b83b improved PR, fixed some minor issues 2016-11-08 08:42:22 +01:00
Alexander Inozemtsev 16e7383202 Fix AMD require call with three arguments
fixes #2641
2016-11-08 08:42:13 +01:00
e-cloud 13322ca35c add missing constructors for all classes needed
As i walk through the source, i've tried to trace the webpack running stack.
Then, i find the missing constructors result in uncleasr stack and create a patch
for them.
2016-05-20 13:39:36 +08:00
Tobias Koppers dc068b4c89 fixes #2084 2016-02-22 18:47:16 +01:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Tobias Koppers d3a7994e35 expose `loc` for every Dependency 2015-05-10 18:31:58 +02:00
Tobias Koppers 6086d8cd55 insert free var injection code to correct place
webpack/webpack#167
2014-02-12 14:53:33 +01:00
Tobias Koppers 30f954067c track chunk origin 2014-01-23 15:31:40 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00