Florent Cailhol
|
36c690d37f
|
Use tapable instead of 'plugin'
|
2017-12-08 14:23:31 +01:00 |
Tobias Koppers
|
dae9de6595
|
Merge branch 'next' into feature/validate-plugin-options
# Conflicts:
# lib/SourceMapDevToolPlugin.js
# lib/optimize/AggressiveSplittingPlugin.js
# yarn.lock
|
2017-11-28 09:59:59 +01:00 |
Tobias Koppers
|
5d78ba9c90
|
fix incorrect behavior of CommonsChunkPlugin
|
2017-11-21 12:56:33 +01:00 |
Sergey Petushkov
|
cdd593b847
|
Rename schemas; Make imports less verbose
|
2017-11-12 09:48:08 +01:00 |
Sergey Petushkov
|
d73ad04c72
|
Add spaces to plugin names
|
2017-11-12 09:48:08 +01:00 |
Sergey Petushkov
|
1065a6e46c
|
Refactor plugins to use schema-utils; Remove unused
|
2017-11-12 09:48:08 +01:00 |
Sergey Petushkov
|
744dbe9b95
|
Add validations to plugins
|
2017-11-12 09:48:08 +01:00 |
Tobias Koppers
|
51c572c4f5
|
refactor more properties to Sets
|
2017-11-07 09:17:12 +01:00 |
Tobias Koppers
|
814c894168
|
Merge branch 'master' into next
# Conflicts:
# lib/optimize/CommonsChunkPlugin.js
# test/statsCases/limit-chunk-count-plugin/expected.txt
# test/statsCases/named-chunks-plugin-async/expected.txt
# test/statsCases/optimize-chunks/expected.txt
|
2017-10-16 10:47:17 +02:00 |
Tobias Koppers
|
4960c5ba4e
|
cleanup CommonsChunkPlugins changes
|
2017-10-13 10:36:08 +02:00 |
Tobias Koppers
|
5abd69680d
|
Merge branch 'master' into next
# Conflicts:
# lib/Compilation.js
# test/statsCases/optimize-chunks/expected.txt
|
2017-10-11 19:26:00 +02:00 |
Tobias Koppers
|
03b0ff2c9c
|
Merge branch 'master' into next
|
2017-10-11 12:42:31 +02:00 |
Landon Crapo
|
87bff6cd98
|
fixed common-chunk-grandchildren example
* using set instead of array
* example of async use case
|
2017-10-09 10:29:38 -06:00 |
Landon Crapo
|
4f9fc01be4
|
Added deepChildren support from ArcEglos' pull request and fixed failing tests
|
2017-10-05 15:31:29 -06:00 |
Tobias Koppers
|
b316bee0a6
|
Use SortableSets for Chunk.parents/blocks
|
2017-09-22 16:38:47 +02:00 |
Tobias Koppers
|
6bd937d768
|
make things consitent
|
2017-09-22 14:07:28 +02:00 |
Tobias Koppers
|
6c1831ca21
|
Merge branch 'next' into use-set-in-chunks
|
2017-09-22 13:49:03 +02:00 |
Tobias Koppers
|
90dc6394de
|
Merge branch 'next' into use-set-in-chunks
|
2017-09-14 09:25:45 +02:00 |
Tobias Koppers
|
7387c50c3a
|
change jsonp function to jsonp array push
|
2017-09-14 08:49:14 +02:00 |
Tobias Koppers
|
907cd16595
|
fix a bug that prevented the automatic chunk selection to select initial chunks
fixes #5145
fixes #5386
fixes #5285
fixes #5109
|
2017-07-27 14:32:35 +02:00 |
Tobias Koppers
|
991b360c90
|
fix useless-escape linting issues
|
2017-07-24 11:54:06 +02:00 |
Tim Sebastian
|
66f0f6436a
|
refactor commonsschunk plugin to handle set instead of array
|
2017-06-24 11:39:46 +10:00 |
Tobias Koppers
|
443b62ffa7
|
add special case for async without name
|
2017-06-09 16:04:52 +02:00 |
Tobias Koppers
|
9cd0cacd14
|
Merge branch 'master' into next
|
2017-06-03 16:36:38 +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 |
Tobias Koppers
|
2bd2d2844c
|
improve a few issues
from review by @Kovensky
|
2017-05-20 14:54:42 +02:00 |
Tobias Koppers
|
e1bac32c19
|
Use a Set to store modules in a chunk
|
2017-05-16 11:50:50 +02:00 |
Tobias Koppers
|
b45588bc11
|
CommonsChunkPlugin in async mode doesn't select initial chunks
fixes #4795
|
2017-05-04 10:50:46 +02:00 |
Tim Sebastian
|
46f174b756
|
reuse logic as used in 2.2.1 to check what chunks should get their runtime extracted
|
2017-04-02 12:14:59 +10:00 |
Tim Sebastian
|
28b4972d53
|
replace `chunk.hasRuntime` with `chunk.parents.length === 0`
see https://github.com/webpack/webpack/pull/4310\#discussion_r102400692
|
2017-02-22 21:38:45 +11:00 |
Tim Sebastian
|
59ea80ff9a
|
remove `chunk.isInitial` constraint before moving blocks
|
2017-02-22 21:35:50 +11:00 |
Tim Sebastian
|
e1ea0a717c
|
implement review feedback
|
2017-02-22 21:32:31 +11:00 |
Tim Sebastian
|
018ca1ad2c
|
improve comments
|
2017-02-22 00:13:21 +11:00 |
Tim Sebastian
|
61ce0f79c1
|
apply review feedback
|
2017-02-22 00:13:21 +11:00 |
Tim Sebastian
|
cc1636f141
|
make variable and method names clearer
|
2017-02-22 00:13:20 +11:00 |
Tim Sebastian
|
efa8b52293
|
use children option instead of `selectedChunks === false`
|
2017-02-22 00:13:20 +11:00 |
Tim Sebastian
|
5838f56d0f
|
correct comment
|
2017-02-21 23:47:55 +11:00 |
Tim Sebastian
|
ec736bfe21
|
move actual apply method to the top, to easier find where things happen
|
2017-02-21 23:47:55 +11:00 |
Tim Sebastian
|
c97b3de912
|
add better validation for options, rename async to prevent future clash with reserved words
|
2017-02-21 23:47:54 +11:00 |
Tim Sebastian
|
10cea76e1e
|
fix wrong assignment of filenameTemplate in constructor
|
2017-02-21 23:47:54 +11:00 |
Tim Sebastian
|
9a7a6b93bd
|
add comments and clean up a bit
|
2017-02-21 23:47:54 +11:00 |
Tim Sebastian
|
bcc10e8aa6
|
extract the last step of reconnecting the chunks to own methods
|
2017-02-21 23:47:54 +11:00 |
Tim Sebastian
|
9f18ea9b15
|
split up and extract default linking between modules and chunks
|
2017-02-21 23:46:51 +11:00 |
Tim Sebastian
|
24b8aebb74
|
extract reallyUsedModules creation to own simplified methods
|
2017-02-21 23:46:51 +11:00 |
Tim Sebastian
|
15be539d24
|
fix up method call
|
2017-02-21 23:46:51 +11:00 |
Tim Sebastian
|
24ecaf56be
|
cleanup unused variables
|
2017-02-21 23:46:50 +11:00 |
Tim Sebastian
|
3dc08aec2a
|
extract creation of async chunk
|
2017-02-21 23:46:50 +11:00 |
Tim Sebastian
|
063c54f546
|
extract creation of usedChunks
|
2017-02-21 23:46:50 +11:00 |
Tim Sebastian
|
d53c882929
|
extract and simplify definition of the common chunk
|
2017-02-21 23:46:50 +11:00 |
Tim Sebastian
|
e9ac46dc26
|
normalize options for commons chunk plugin
|
2017-02-21 23:46:50 +11:00 |