Commit Graph

468 Commits

Author SHA1 Message Date
Tobias Koppers 2fa104f73a avoid walking scopes multiple times for performance reasons 2018-04-03 22:21:04 +02:00
Tobias Koppers 8d8da4cdff Merge branch 'master' into bump_prettier 2018-03-29 11:48:02 +02:00
Tobias Koppers 0f70fcb99f
Merge pull request #6791 from storybooks/spilt-chunks-selector
Support selector function as optimization.splitChunks.chunks option
2018-03-29 11:40:07 +02:00
Mohsen Azimi 77afc92c5f
Remove extra argument sent to HarmonyExportExpressionDependencyConcatenatedTemplate 2018-03-28 22:06:44 -07:00
Florent Cailhol f1092ad516 Update prettier toolchain 2018-03-26 16:56:10 +02:00
Florent Cailhol 3983803d30 Destructure 'require' to improve readability 2018-03-22 12:05:58 +01:00
Hypnosphi 1e2d8ec295 Handle `typeof option === "function"` case 2018-03-20 22:57:02 +03:00
Hypnosphi 3f8a94f1a1 Extract normalizeChunksFilter helper 2018-03-20 15:18:09 +03:00
Hypnosphi f804ff06be Support selector function as optimization.splitChunks.chunks option 2018-03-18 16:51:06 +03:00
Manuel Bauer 771bf859a6 Added chunkFilenameDelimiter option for SplitChunksPlugin: Fixed test issue 2018-03-12 10:32:46 +01:00
Manuel Bauer bda8d52810 Added chunkFilenameDelimiter option for SplitChunksPlugin: Applied requested changes 2018-03-12 10:07:31 +01:00
Manuel Bauer 085d2885e4 Added chunkFilenameDelimiter option for SplitChunksPlugin: Added tests and fixed code style 2018-03-09 14:27:19 +01:00
Manuel Bauer b803c649ee Added chunkFilenameDelimiter option for SplitChunksPlugin: Fixed parameter 2018-03-09 10:28:21 +01:00
Manuel Bauer 36db321e9c Added chunkFilenameDelimiter option for SplitChunksPlugin 2018-03-09 10:12:23 +01:00
Tobias Koppers 4d68350128 fix bug where modules are put into the wrong chunk
fixes #6696
2018-03-07 15:39:43 +01:00
Tobias Koppers 800e7f967b fix #6688 2018-03-06 15:03:33 +01:00
Tobias Koppers 00f70fc65c
Merge pull request #6645 from zacanger/fix/6644
Fix #6644
2018-03-03 18:00:15 +01:00
Tobias Koppers 01c18cc301
Merge pull request #6651 from webpack/feature/split-chunks-filename
allow to configure filename for splitted chunks
2018-03-03 17:58:05 +01:00
Tobias Koppers ecb65aa75a allow to configure filename for splitted chunks
#6598
2018-03-02 10:14:25 +01:00
zacanger 3a41ca4ee2
Fix #6644 2018-03-01 18:25:44 -07:00
Brent Wilton 39095efc34 add todo for ModuleConcatenationPlugin for loop bugfix 2018-03-02 14:08:26 +13:00
Brent Wilton 9f37b499bf improve performance of ModuleConcatenationPlugin for loop 2018-02-28 11:46:12 +13:00
Tobias Koppers 6a5d081f29
Merge pull request #6591 from jsoref/spelling
Spelling
2018-02-27 12:50:34 +01:00
Tobias Koppers e7aba18ed5 fix incorrect optimization bailout messages
fixes #6570
2018-02-26 20:22:58 +01:00
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