Commit Graph

47 Commits

Author SHA1 Message Date
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Nitin Kumar 285529a643
chore: fix typos across the project 2020-03-10 07:29:46 +05:30
Tobias Koppers 6477ca56f8 Split options defaulting in normalization and defaults
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +01:00
Tobias Koppers 4da880e658 remove Array.prototype.reduce calls to simplify code 2020-01-21 09:45:25 +01:00
Tobias Koppers d57820c53e make RequestShortener simpler, only use relative path 2020-01-15 18:48:37 +01:00
Tobias Koppers c94bd66ee5 fix spacing of errors/warnings when details or stack is enabled 2019-11-20 15:54:32 +01:00
Tobias Koppers ed81ad0fa4 allocate warnings and errors arrays only when needed 2019-11-10 21:05:16 +01:00
Tobias Koppers efe0c2e610 avoid creating arrays in getConnections 2019-11-10 21:05:05 +01:00
Tobias Koppers e8f2a8329d avoid emitting files when they already exits in output filesystem 2019-11-04 09:23:18 +01:00
Tobias Koppers 8d46b21fad add Dependency.getCondition and conditional ModuleGraphConnections
getDependencyReference is no longer used to check of connection
2019-10-30 07:48:32 +01:00
Tobias Koppers 65bdb43180 fix badly chosen max fill rate for deterministic
sort modules by identifier in output file, that's better for gzip
2019-10-16 16:38:04 +02:00
Tobias Koppers fc04bf15bc Do not show stack trace of errors in stats by default
Add new `stats.errorStack` option to display it anyway.
2019-10-15 07:43:37 +02:00
Tobias Koppers 4c3d7c9cbb improve developer experience
add `stats.ids` options which is off by default in toString
sort modules by depth by default
show chunk id hints
improve module and chunks sorting in stats
automatically switch stats.modules off the modules are displayed in chunks
2019-10-10 20:22:13 +02:00
Tobias Koppers 53f68c9e7b update deprecated usage of chunk and main templates 2019-10-08 23:46:33 +02:00
Tobias Koppers 7bde43f47a Merge tag 'v4.40.0' into next
4.40.0
2019-09-13 11:12:26 +02:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
Tobias Koppers 684b31600a add back `stats.cachedAssets` 2019-07-26 14:01:24 +02:00
Tobias Koppers 38a21d970d calculate file to chunk relation only once for better performance 2019-07-25 07:41:22 +02:00
Tobias Koppers cca561251f cache hooks while stats creating/printing for better performance 2019-07-25 07:41:17 +02:00
Tobias Koppers c17dfde7a8 Merge tag 'v4.37.0' into next
4.37.0
2019-07-24 10:51:04 +02:00
Tobias Koppers 4fa8addeec Handle auxiliary files separately from normal files 2019-07-17 23:13:08 +02:00
Tobias Koppers 2912c1b529 improve date printing and code readablility 2019-07-16 14:29:53 +02:00
Tobias Koppers 31ea2c7212 improve performance of date time formating
improve tests for timings
2019-07-15 16:31:59 +02:00
Tobias Koppers c94073b31c update enhanced-resolve 2019-07-05 00:45:41 +02:00
Tobias Koppers b2e7837288 replace Object.assign with object spread 2019-06-19 13:16:05 +02:00
Daniel Ruf bb944d3de6
fix: remove duplicate code blocks in condition and switch-case 2019-06-15 13:31:45 +02:00
Tobias Koppers 0505e177f1 add more types and fix/remove TODOs
change Chunk.files to Set
remove checkContext from IgnorePlugin
remove external flag from ExternalModule
2019-06-14 10:45:56 +02:00
Tobias Koppers 6db94536ad Merge tag 'v4.34.0' into next
4.34.0
2019-06-13 10:51:12 +02:00
Tobias Koppers f1f9a36010 revert temporary change 2019-05-10 12:44:29 +02:00
Florent Cailhol 1e969d24c1 Add missing types 2019-05-10 10:05:43 +02:00
Tobias Koppers e4009e7695 Merge tag 'v4.31.0' into next
4.31.0
2019-05-09 21:38:10 +02:00
Tobias Koppers 8300425e1c new version of emitting assets
It allows to free memory of Sources with the trade-off of disallowing reading asset content after emitting
2019-01-18 21:56:53 +01:00
Scott Mikula c1e330b800 Add a secondary sort for reasons by resolvedOriginModule 2019-01-11 10:07:37 -08:00
Scott Mikula d649429a8f Report resolved module earlier in reason line 2019-01-11 09:44:51 -08:00
Scott Mikula 07f8140201 Only include resolvedModule in toString output if different, plus tests 2019-01-10 11:47:49 -08:00
Scott Mikula 041e04a9dd Include resolvedModule in toString output 2019-01-10 11:07:04 -08:00
Scott Mikula 1c1f784f7c Add resolveModuleId and resolvedModuleIdentifier to reason 2019-01-10 10:23:19 -08:00
Scott Mikula 53973fb007 Report originally resolved module as part of reasons 2019-01-09 15:45:25 -08:00
Florent Cailhol a42922f663 Move provided exports to the module graph 2018-12-31 12:28:51 +01:00
Tobias Koppers 50d63602b5 fix stats assetsByChunkName
It's now always an array
2018-12-31 09:15:01 +01:00
Tobias Koppers 3079886e47 filter entrypoints from namedChunkGroups in Stats only for printing 2018-12-28 12:57:38 +01:00
Tobias Koppers b3319a486d fix incorrect default for some options with all: false 2018-12-25 21:39:25 +01:00
Tobias Koppers 12436bf53e add chunkRelations to stats config 2018-12-23 10:04:23 +01:00
Tobias Koppers a84de283b2 avoid printing undefined when there is no chunk reason 2018-12-23 10:04:22 +01:00
Tobias Koppers 1374757006 remove ModuleReason
remove HotUpdateChunkTemplate
move compareLocations into comparators
re-enable NodeSourcePlugin for `.mjs`
2018-12-20 16:38:26 +01:00
Tobias Koppers 123b0a64e7 add plugin system for Stats presets, defaults, creation and printing 2018-12-18 22:07:14 +01:00