evilebottnawi
dafa4cd69a
chore: setup cspell
2020-03-12 19:51:26 +03:00
Tobias Koppers
95297186d5
remove Array.prototype.reduce calls to simplify code
2020-01-20 14:41:39 +01:00
evilebottnawi
6a99b5316d
refactor: migrate on `schema-utils`
2019-08-07 18:10:40 +03:00
Florent Cailhol
b12f24d20c
Update hook types
2019-05-10 09:52:22 +02:00
Tobias Koppers
0ae4a58918
make AggressiveSplittingPlugin stable
2018-10-23 11:32:41 +02:00
Tobias Koppers
7340fbb547
refactor Cache
...
add a new hookable Cache class
removed CachePlugin
add MemoryCachePlugin
refactor timestamps
create FileSystemInfo class
2018-09-27 13:20:19 +02:00
Tobias Koppers
17044bf9c6
Merge tag 'v4.20.0' into next
...
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers
1f6b92de3e
use declarations from schemas in plugins
2018-09-21 11:04:28 +02:00
Tobias Koppers
7a43a27eda
make Compilation.chunks a Set
2018-09-06 17:04:01 +02:00
Tobias Koppers
b4860ccebb
refactor chunk id plugins
2018-09-05 14:28:52 +02:00
Tobias Koppers
604460da52
move iterable compare code to comparators
2018-08-28 15:10:30 +02:00
Tobias Koppers
02b15a1b46
pass chunkGraph to updateHash instead of moduleGraph
...
pass chunkGraph to compareModulesById instead of moduleGraph
pass chunkGraph to methods of RuntimeTemplate
use comparators from module at some places
2018-08-28 12:06:53 +02:00
Tobias Koppers
4dfe88edb0
add moduleGraph argument to comparators
2018-08-21 11:08:07 +02:00
Florent Cailhol
7b02084bc5
Replace Basic and Advanced optimzation hooks by stages
2018-08-16 14:10:51 +02:00
Tobias Koppers
6d5310fbd6
allow multiple entryModules per chunk
...
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers
3cf01999b5
add ChunkGraph
...
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers
f89b599197
add types to Stats
...
move recorded property into a WeakMap
remove non-existing property
2018-08-02 16:07:29 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
Florent Cailhol
3983803d30
Destructure 'require' to improve readability
2018-03-22 12:05:58 +01: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
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +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
EugeneHlushko
2aab060f26
Refactor: indexOf >< checks to includes
2018-01-11 18:58:39 +02:00
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
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
f7c2f8e470
Update code style to arrow functions
2017-11-08 11:56:01 +01:00
Tobias Koppers
7387c50c3a
change jsonp function to jsonp array push
2017-09-14 08:49:14 +02:00
Tobias Koppers
64c1e8a23a
performance improvements and comments
2017-07-18 14:24:42 +02:00
asolove
3f1b7e624c
Store relative path cache on compilation to avoid leaking memory.
2017-07-17 23:06:59 -06:00
Tobias Koppers
302289ce24
Merge branch 'master' into next
2017-06-02 16:28:22 +02:00
Tobias Koppers
3caf4675a0
Upstream changes from https://github.com/jantimon/html-webpack-plugin/pull/670#issuecomment-301484908
2017-06-02 11:09:17 +02: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
Tim Sebastian
ed51e2ff2c
unify makeRelative method used in aggresivesplittingplugin and recordsidsplugin
2017-04-05 23:38:15 +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
93ac8e9c36
Merge pull request #4205 from timse/use-let-const-as-blockscoped-variables
...
Use let const as blockscoped variables
2017-02-08 09:44:03 +01:00
CUNTIE
3fc1f42b53
fix AggressiveSplittingPlugin logical bug
2017-02-07 09:24:36 +08:00
Tim Sebastian
5321ae6902
fixup AggressiveSplittingPlugin
2017-02-05 13:10:08 +11:00
Tim Sebastian
e42b603c46
make use of block scoped nature of let and const in AggressiveSplittingPlugin
2017-02-05 10:37:36 +11:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Shubheksha Jalan
7dae8fbc00
refactor(ES6): upgrade AggressiveSplittingPlugin to ES6 ( #3743 )
...
* refactor(ES6): upgrade AggressiveSplittingPlugin to ES6
* refactor(ES6): remove this hack and fix this value in arrow function
2017-01-04 13:15:54 -06:00
Sean Larkin
aa8d01bf8d
refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot ( #3636 )
...
* refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot
* This change allows for buildin to now be part of the lint test by addition of an extra .eslintrc file which extends existing but sets es6 to false
* Turned on no-unused-vars for eslint, and then removed all warnings from turning that feature on
* Was getting notified of errors in "quote" property in eslintrc, so changed to correct value from error to 2.
* beautify
* swap invalid eslint config val
2016-12-30 09:43:49 -06:00
Tushar Sonawane
34c02a9c15
fix 'no-loop-func' warnings
2016-10-29 18:53:54 +05:30