Commit Graph

8 Commits

Author SHA1 Message Date
Tobias Koppers 4e9bcd10a6 make test cases to complete within tests 2021-07-08 12:19:12 +02:00
Tobias Koppers 994613bc20 fixes #7499 2018-06-19 20:47:48 +02:00
Florent Cailhol f63d6fa4bb Replace sinon by jest's mocks 2018-05-07 15:26:09 +02:00
Florent Cailhol aa217e9abc Fix wrong regexp replacements 2018-01-30 21:03:23 +01:00
Bazyli Brzóska 5a8083a930 migrate should to expect, part 1
used regexps:

([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\.should\.be\.eql
➡️
expect($1).toBe

expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\[
➡️
expect($1).toEqual([

expect\(([\(\)a-zA-Z0-9\."'/ +{}\[\]=\-,:?_!]+)\)\.toBe\(\{
➡️
expect($1).toEqual({
2018-01-26 22:51:03 +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 4ec0833b50 fixup test from merge 2017-06-05 11:01:59 +02:00
Michael Yong 7834e6cd57 CommonsChunkPlugin: Don't allow blocks to contain duplicate chunks
- Add configCase to repro failure
2017-05-30 21:11:42 -07:00