Commit Graph

37 Commits

Author SHA1 Message Date
alexander.akait a1f46a9ac3 fix: types 2024-02-21 17:55:02 +03:00
alexander.akait e226101c55 refactor(types): more 2023-06-21 19:00:24 +03:00
Tobias Koppers ed06a7f83a new Worker() support
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers b3466e996b add entry[x].runtime option to allow runtime chunk per entry 2020-07-27 22:40:40 +02:00
Tobias Koppers edecce586b handle dependOn at start of buildChunkGraph
handle jsonp chunk loading correctly for child entrypoints
add error message for incorrect dependOn
2020-02-11 09:12:13 +01:00
Tobias Koppers 602bd5738a Merge tag 'v4.39.2' into next
4.39.2
2019-08-13 21:47:00 +02:00
jamesgeorge007 72ee5a3579 fix: lint 2019-08-10 13:57:56 +05:30
Florent Cailhol de41d1fe8b Add missing types on Chunk related classes 2018-11-07 14:10:57 +01:00
Tobias Koppers 60b06472f5 make LimitChunkCountPlugin stable
fix integrating non-runtime with runtime chunk
move entry modules when integrating two chunks
2018-10-23 11:32:36 +02:00
Tobias Koppers c04747f17d make LimitChunkCountPlugin stable 2018-10-19 12:57:27 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers 559cf94edb Simplify imports 2018-07-09 15:09:00 +02:00
Tobias Koppers f2ad440de8 More strict linting of jsdocs
Use TODO over any when type is possible
2018-05-08 14:53:33 +02:00
Tobias Koppers f596f6063c
reorder imports 2018-04-30 09:22:07 +02:00
Tobias Koppers 9f9213dcd0
remove unnecessary annotations 2018-04-30 09:21:42 +02:00
Sean Larkin 151c9c8705 fix extraline, unneeded false type, and spelling in description for class 2018-04-26 21:50:46 -05:00
Sean Larkin 51fe93ccff types(entrypoint): add typeing support for Entrypoint 2018-04-24 14:27:25 -07:00
Tobias Koppers 9cb1a66317 add support for link preload/prefetch
`import(/* webpackPrefetchPriority: 10 */ "...")`
`import(/* webpackPreloadPriority: 10 */ "...")`
2018-04-16 11:29:25 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Mihail Bodrov b84ac5bc11 Fix typo 2018-02-08 02:28:08 +03:00
Mihail Bodrov 80d2e22684 Simplify for loop in EntryPoint.getFiles 2018-02-08 01:11:21 +03: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
Tobias Koppers c71dabcc0c allow to set runtime chunk in Entrypoint
split keeps runtime chunk in entrypoint

default runtime chunk back to first chunk to keep CCP working
2018-01-10 18:58:28 +01:00
Tobias Koppers b34663cb2d add more config options
fix bugs
2018-01-10 18:58:27 +01:00
Tobias Koppers 51c572c4f5 refactor more properties to Sets 2017-11-07 09:17:12 +01:00
Tobias Koppers 64aa63d6a8 increase coverage with test case
remove unused code
2017-09-14 14:46:46 +02:00
Tobias Koppers 7387c50c3a change jsonp function to jsonp array push 2017-09-14 08:49:14 +02:00
Tim Sebastian 2d8f8d80ad use const where applicable in Entrypoint 2017-02-05 10:19:49 +11:00
Sean Larkin 083b9a7975 refactor(es6): Upgrade Entrypoint to es6 2016-12-29 00:58:26 -06:00
Sean Larkin 5da9d8c7ef
fix(performance): extract size function from out of entrypoint class 2016-12-13 21:28:59 -06:00
Sean Larkin 128000a846 beautify 2016-12-13 10:30:46 -06:00
Sean Larkin 3410d84e33 fix(performance): remove unneeded test code 2016-12-13 10:29:38 -06:00
Sean Larkin 541ec7ce08 feat(performance): don't include .map files in perf warnings 2016-12-13 10:25:32 -06:00
Tobias Koppers 3dfab1053b beautify 2016-12-07 17:22:21 +01:00
Sean Larkin c6850b3481 chore(performance): cleaned up unused variables, removed compilation from constructor, added stats additional messages 2016-12-07 17:22:20 +01:00
Sean Larkin 93ae6bc32a chore(performance) cleanup unused functionality, partial cleanup 2016-12-07 17:22:18 +01:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00