Commit 18ae73d
committed
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 CommonsChunkPlugin1 parent 8b888fe commit 18ae73d
File tree
317 files changed
+5741
-8083
lines changed- examples
- aggressive-merging
- chunkhash
- code-splitted-css-bundle
- code-splitted-require.context-amd
- code-splitted-require.context
- code-splitting-bundle-loader
- code-splitting-harmony
- code-splitting-native-import-context-filter
- code-splitting-native-import-context
- code-splitting-specify-chunk-name
- code-splitting
- coffee-script
- common-chunk-and-vendor-chunk
- node_modules
- common-chunk-grandchildren
- commonjs
- css-bundle
- dll-app-and-vendor
- 0-vendor
- 1-app
- dll-user
- dll
- explicit-vendor-chunk
- externals
- extra-async-chunk-advanced
- extra-async-chunk
- harmony-interop
- harmony-library
- harmony-unused
- harmony
- http2-aggressive-splitting
- hybrid-routing
- i18n
- loader
- mixed
- move-to-parent
- multi-compiler
- multi-part-library
- multiple-commons-chunks
- modules
- multiple-entry-points-commons-chunk-css-bundle
- multiple-entry-points
- named-chunks
- require.context
- require.resolve
- scope-hoisting
- side-effects
- source-map
- two-explicit-vendor-chunks
- wasm-simple
- web-worker
- lib
- dependencies
- node
- optimize
- performance
- util
- webworker
- web
- schemas
- test
- browsertest
- configCases
- async-commons-chunk
- all-selected
- duplicate
- existing-name
- nested
- simple
- commons-chunk-plugin
- correct-order
- extract-async-from-entry
- hot-multi
- hot
- inverted-order
- library
- move-entry
- move-to-grandparent
- move-to-parent
- simple
- externals/externals-in-commons-chunk
- extract-text/issue-14
- records/issue-2991
- hotCases
- hash/separate-css-file
- runtime/dispose-removed-chunk
- statsCases
- aggressive-splitting-entry2
- aggressive-splitting-entry
- aggressive-splitting-on-demand
- async-commons-chunk-all-selected
- async-commons-chunk-auto
- async-commons-chunk
- chunks-development
- chunks
- circular-correctness
- color-disabled
- color-enabled-custom
- color-enabled
- commons-chunk-min-size-0
- commons-chunk-min-size-Infinity
- commons-chunk-plugin-children
- commons-plugin-issue-4980
- define-plugin
- exclude-with-loader
- external
- filter-warnings
- graph-correctness-entries
- graph-correctness-modules
- import-context-filter
- import-weak
- limit-chunk-count-plugin
- max-modules-default
- max-modules
- module-deduplication-named
- module-deduplication
- module-trace-disabled-in-error
- module-trace-enabled-in-error
- named-chunks-plugin-async
- named-chunks-plugin
- no-emit-on-errors-plugin-with-child-error
- optimize-chunks
- parse-error
- performance-disabled
- performance-error
- performance-no-async-chunks-shown
- performance-no-hints
- preset-detailed
- preset-normal-performance-ensure-filter-sourcemaps
- preset-normal-performance
- preset-normal
- preset-verbose
- resolve-plugin-context
- reverse-sort-modules
- scope-hoisting-bailouts
- scope-hoisting-multi
- separate-css-bundle
- a
- b
- simple-more-info
- simple
- tree-shaking
- warnings-uglifyjs
- watchCases/plugins/extract-text-plugin
- 0
- 1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
317 files changed
+5741
-8083
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
| |||
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
66 | | - | |
| 65 | + | |
67 | 66 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | | - | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | | - | |
89 | | - | |
| 93 | + | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 101 | + | |
| 102 | + | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
| |||
111 | 110 | | |
112 | 111 | | |
113 | 112 | | |
114 | | - | |
| 113 | + | |
115 | 114 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
133 | | - | |
| 138 | + | |
134 | 139 | | |
135 | 140 | | |
136 | | - | |
137 | | - | |
| 141 | + | |
| 142 | + | |
138 | 143 | | |
139 | 144 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 145 | + | |
| 146 | + | |
145 | 147 | | |
146 | 148 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
| 22 | + | |
| 23 | + | |
0 commit comments