Commit Graph

20 Commits

Author SHA1 Message Date
alexander.akait a911bd9fa1 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait 055737dc0c refactor(types): more 2023-05-21 23:31:30 +03:00
Tobias Koppers 0fc007f364 refactor RequireEnsureDependenciesBlock and make it serializable 2018-10-18 12:44:46 +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 ec1329a7d4 make libIdent required
add types
2018-08-02 16:29:20 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +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
Tobias Koppers da08b897d3 fix variable injection in require.ensure 2017-05-25 06:32:11 +02:00
Tobias Koppers e4a24bf650 Merge pull request #4069 from jharris4/master
Add error callback support to require.ensure
2017-04-07 18:12:43 +02:00
Tim Sebastian 9c8635dffe use const where applicable in RequireEnsureDependenciesBlock 2017-02-05 10:23:19 +11:00
jharris4 9fa3354d98 Add error callback to require.ensure 2017-01-19 23:12:54 -05:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
ritikrishu bb31c25e71 refactor RequireEnsureDependenciesBlock to es6 syntax (#3834) 2017-01-07 22:05:14 -06: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
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 30f954067c track chunk origin 2014-01-23 15:31:40 +01:00
Tobias Koppers a3cd3baf16 fixes #114
allow bound function expressions in require.ensure
allow unparsed expressions in require.ensure
2013-11-03 15:28:50 +01:00
Tobias Koppers ee01837d66 Refactored everything for 0.9 2013-01-30 18:49:25 +01:00