Commit Graph

14 Commits

Author SHA1 Message Date
Tobias Koppers f2ad440de8 More strict linting of jsdocs
Use TODO over any when type is possible
2018-05-08 14:53:33 +02:00
Sean Larkin 54f5a5a881 fix(types): remove whitespace 2018-05-05 22:48:44 -07:00
Sean Larkin c50d86a517 # This is a combination of 4 commits.
# The first commit's message is:
chore(types): add type support for chunkgroup

# This is the 2nd commit message:

remove unneeded comments

# This is the 3rd commit message:

fix(types): add ModuleReason and some other missing parameters

# This is the 4th commit message:

fix(types): add removed usestrict
2018-05-02 13:57:04 -07:00
Tobias Koppers 8e2e19ba50 fix unstable sorting of ChunkGroups and add test 2018-04-17 09:36:26 +02:00
Tobias Koppers 17eb5b4700 rename priority to order 2018-04-16 18:00:34 +02:00
Tobias Koppers 9cb1a66317 add support for link preload/prefetch
`import(/* webpackPrefetchPriority: 10 */ "...")`
`import(/* webpackPreloadPriority: 10 */ "...")`
2018-04-16 11:29:25 +02:00
Josh Soref 7355b914da spelling: guaranteed 2018-02-26 02:30:35 +00:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Tobias Koppers 0206949075 remove unused code 2018-01-21 11:12:36 +01:00
Tobias Koppers 83301ab2d6 fix potential problem when replacing chunk with itself 2018-01-21 11:11:52 +01:00
Tobias Koppers fabd1abb41 improvements from review by @ooflorent 2018-01-20 11:28:45 +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 08cd2f0ffe introduce ChunkGroup for AND in parents 2018-01-10 17:12:03 +01:00