Tobias Koppers
44bf6c245f
update graph correctly
2017-05-28 17:18:41 +02:00
Tobias Koppers
d8539561fd
add optimization bailout info
...
track optimization bailout in concat plugin
2017-05-28 15:25:07 +02:00
Tobias Koppers
b4d25208f4
filter modules from modules array
2017-05-24 11:22:42 +02:00
Tobias Koppers
1c3bef901c
merge PR #4884 again
...
by @filipesilva
2017-05-22 20:04:23 +02:00
Tobias Koppers
5d9eef85c7
improvements from review
2017-05-21 09:15:43 +02:00
Tobias Koppers
4a25a17bb6
improvements from review
2017-05-21 09:15:42 +02:00
Tobias Koppers
c41ab084f6
fix export mangling in concatenated modules
2017-05-21 09:15:42 +02:00
Tobias Koppers
9b2a9fa786
Scope Hoisting
2017-05-21 09:15:41 +02:00
Tobias Koppers
2bd2d2844c
improve a few issues
...
from review by @Kovensky
2017-05-20 14:54:42 +02:00
Tobias Koppers
8d3efe7d63
Merge branch 'next' into perf/modules-set
2017-05-16 14:37:03 +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
Tobias Koppers
616777b520
fix spacing issue
2017-04-21 18:47:59 +02:00
Tobias Koppers
7ca1297e11
Use a Set in RemoveParentModulesPlugin for performance
2017-04-18 23:28:16 +02:00
Tobias Koppers
e8bc9c2b3b
use a Set for Module.chunks
2017-04-18 23:27:25 +02:00
Tim Sebastian
ed51e2ff2c
unify makeRelative method used in aggresivesplittingplugin and recordsidsplugin
2017-04-05 23:38:15 +10:00
Tobias Koppers
e7c13d75e4
Merge pull request #4553 from timse/named-chunks-plugin
...
Named chunks plugin
2017-04-04 09:45:08 +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
9f05520686
check splitData for null and undefined
2017-03-26 20:30:52 +11:00
Tim Sebastian
b8e1981e09
allow chunk.id to be a number - or rather a non-null-something
2017-03-26 20:30:52 +11:00
Tobias Koppers
915c150f3a
fix bug in MinChunkSizePlugin
...
fix #4532
2017-03-22 12:09:22 +01:00
Tim Sebastian
d7ae9adfb2
do not incorporate chunks without modules
2017-03-18 12:20:08 +11:00
Stephen Hurwitz
87702a29ad
Updates UglifyJs to 2.8.x to accept additional compress options
...
Bumps the minimum version of UglifyJs and substitutes `.compress()` for
`.transform()` as recommended. In addition to a new test covering
`compress` options this commit also contains updates to make existing
tests pass with the update.
2017-03-04 18:31:39 -08:00
Tim Sebastian
ff814e91b5
add comments to FlagIncludedChunksPlugin
2017-02-23 23:39:19 +11:00
Tim Sebastian
39575663b7
move chunk parents check up
2017-02-23 23:31:05 +11:00
Tim Sebastian
8d193c7097
improve wording in DedupePlugin error
2017-02-23 23:28:05 +11: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
Tim Sebastian
952f04d90f
node v4 fails to reassignes const in for-of loops properly
2017-02-19 13:18:01 +11:00
Tobias Koppers
d0f1f6e770
Merge pull request #4134 from SebastianS90/uglifyjs-extract-comments
...
UglifyJsPlugin: extract comments to separate file
2017-02-15 15:07:54 +01:00
Simon Sperling
c1346f5aa2
fix spelling error in MinChunkSizePlugin
2017-02-13 16:30:27 +01:00