Josh Soref
bf7c5af2e9
spelling: fullfil
2018-02-26 02:30:14 +00:00
Josh Soref
676e74660a
spelling: chosen
2018-02-26 02:26:06 +00:00
Tobias Koppers
f32bd41c52
fix linting
2018-02-25 02:15:37 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Tobias Koppers
15ab027a42
Merge pull request #6536 from jevan0307/sideEffects-selectors
...
Add support for more complex sideEffects selectors
2018-02-24 12:17:50 +01:00
Florent Cailhol
40ee8c76d2
Use MD4 for hashing
2018-02-22 11:27:11 +01:00
Jevan Chan
c334d0875b
replace minimatch with micromatch
2018-02-21 00:36:14 +08:00
Jevan Chan
b620a58b40
replace glob-regex with minimatch
2018-02-19 22:50:05 +08:00
Jevan Chan
11c9e736ef
Merge branch 'sideEffects-values' of https://github.com/reergymerej/webpack into sideEffects-selectors
2018-02-19 21:39:45 +08:00
Tobias Koppers
244d27a42d
improve way of getting combinations of chunks
...
we no longer require a complexity limit -> maxComplexity removed
2018-02-17 10:16:32 +01:00
Tobias Koppers
1e73752fb2
improve chunk splitting
...
by also trying to select combinations of module chunks
(limited by complexity)
fix size ordering (was reversed)
add chunk cound ordering
2018-02-17 07:01:00 +01:00
Tobias Koppers
edd8daf1d7
Merge branch 'master' into next
...
# Conflicts:
# lib/optimize/ConcatenatedModule.js
# package.json
# yarn.lock
2018-02-09 17:04:33 +01:00
Tobias Koppers
313944891d
Merge pull request #6432 from webpack/bugfix/split-chunks-duplicate
...
fixes #6413
2018-02-06 09:14:12 +01:00
Tobias Koppers
b50a5b61c4
Merge pull request #6384 from benthemonkey/next
...
Add "single" option to RuntimeChunkPlugin
2018-02-05 17:35:55 +01:00
Tobias Koppers
4dd521f498
fixes #6413
2018-02-05 17:14:31 +01:00
Tobias Koppers
b3f3100259
Merge pull request #6429 from webpack/fix-6426/ENAMETOOLONG
...
Truncate generated chunk name if too long
2018-02-05 09:16:19 +01:00
Florent Cailhol
6ebdc6b309
Truncate generated chunk name if too long
...
Fixes #6426
2018-02-02 09:55:52 +01:00
Tobias Koppers
9fde04d299
handle single option in options defaulter
...
change runtime chunk naming schema
2018-02-01 17:53:15 +01:00
Florent Cailhol
63b4523a15
Pass 'context' as constructor argument
2018-01-30 21:40:44 +01:00
Olivier Combe
2aebfbe48c
fix(ConcatenatedModule): don't throw on arrays with empty values
...
Fixes #6407
Fixes #5415
Ref https://github.com/angular/angular/issues/21809
2018-01-29 15:52:01 +01:00
Ben Rothman
c26c872bb2
add "single" option to RuntimeChunkPlugin
2018-01-26 22:03:56 -06:00
Tobias Koppers
72f904a34b
run splitChunks and runtimeChunk only on main compiliation
2018-01-24 12:00:50 +01:00
Tobias Koppers
7a1b357aad
Merge branch 'next' into for_of_loops
2018-01-24 09:01:31 +01:00
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +01:00
Florent Cailhol
77bb4c0055
Deprecate forEach* and map* methods
2018-01-23 22:19:59 +01:00
Florent Cailhol
7f303e5260
Use Buffer.from instead of new Buffer
2018-01-22 17:23:34 +01:00
Tobias Koppers
ea609374f7
split Chunk.isInitial into isOnlyInitial and canBeInitial
...
remove includeInitial argument of getChunk(Module)Maps
2018-01-22 12:52:28 +01:00
Florent Cailhol
86e6edf1ab
Refactor how source type is handled by the parser
2018-01-22 09:30:43 +01:00
Tobias Koppers
b28435eb32
make default cache group explicit
...
add priority
using cacheGroups doesn't override default cache groups
2018-01-20 13:13:10 +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
Jeremy Greer
2ef4b0101e
Add support for sideEffects glob(s)
...
In addition to Booleans, the `sideEffects` value in a package can
identify child modules with side effects by a glob or Array of globs.
2018-01-18 13:29:22 -06:00
Tobias Koppers
114abeeb4d
fix merge issue
2018-01-18 11:31:38 +01:00
Tobias Koppers
af90de826c
Merge pull request #6236 from ooflorent/use_map_set
...
Replace dictionaries by Map or Set
2018-01-18 09:24:36 +01:00
Tobias Koppers
6437964207
Merge pull request #6291 from Iwouldliketobeapig/next
...
feat: CommonsChunkPlugin indexOf -> includes
2018-01-12 10:57:42 +01:00
dutao
9cbe4f19c5
fix: lint miss ;
2018-01-12 09:07:22 +08:00
Tobias Koppers
7112943ca4
Merge pull request #6298 from EugeneHlushko/refactor/indexof-to-includes
...
Refactor/indexof to includes
2018-01-11 22:45:02 +01:00
EugeneHlushko
2aab060f26
Refactor: indexOf >< checks to includes
2018-01-11 18:58:39 +02:00
Tobias Koppers
7baf6aff08
Merge pull request #6281 from webpack/feature/auto-ccp
...
Add AutomaticCommonsChunksPlugin and config options and defaults
2018-01-11 11:15:26 +01:00
dutao
58cacb25a0
feat: indexOf -> includes
2018-01-11 17:25:00 +08:00
Tobias Koppers
d60a9f5288
Merge pull request #6287 from ooflorent/remove_dedupeplugin
...
Remove deprecated DedupePlugin
2018-01-10 23:59:50 +01:00
Tobias Koppers
acdabb1427
linting, comment and minor improvements
2018-01-10 19:22:25 +01:00
Tobias Koppers
85acfeb1c2
allow to use new options minSize, maxRequests
2018-01-10 18:58:27 +01:00
Tobias Koppers
4b81320695
allow limit requests and chunk size
...
with defaults
2018-01-10 18:58:27 +01:00
Tobias Koppers
b34663cb2d
add more config options
...
fix bugs
2018-01-10 18:58:27 +01:00
Tobias Koppers
417044f065
add AutomaticCommonsChunksPlugin
...
enable it by default for async chunks
add options for initial chunks
2018-01-10 18:58:26 +01:00
Tobias Koppers
08cd2f0ffe
introduce ChunkGroup for AND in parents
2018-01-10 17:12:03 +01:00
Florent Cailhol
67f31aeebc
Remove deprecated DedupePlugin
2018-01-09 17:09:18 +01:00
Tobias Koppers
2cbd4685d3
Merge pull request #6250 from webpack/bugfix/json-concat
...
fix a bug with json modules in concatenated modules
2018-01-06 10:37:30 +01:00
Florent Cailhol
1590751da2
Replace dictionaries by Map or Set
2018-01-06 09:45:57 +01:00
Florent Cailhol
9f13bfec6c
Optimize chunk traversal in RemoveParentModulesPlugin
2018-01-05 22:49:55 +01:00