Tobias Koppers
f1d23381aa
fix total item counting
2020-09-29 10:11:36 +02:00
Tobias Koppers
45fe45c70f
fix some space calculation issues and add comments
2020-09-29 10:11:33 +02:00
Tobias Koppers
ea075be453
add config.ignoreWarnings
...
deprecate stats.warningsFilter
2020-09-20 22:08:38 +02:00
Tobias Koppers
07fc554bef
improve warnings and errors handling in stats
...
respect warningsFilter for warnings count
include child compilation warnings and errors in count
show hint for child compilation errors and warnings
2020-09-20 21:24:15 +02: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
0afc6a7f48
print entrypoint only when necessary (stats.entrypoints: "auto")
...
show sizes for entrypoints
2020-09-03 23:29:14 +02:00
Tobias Koppers
8e0c511068
replace hash, version, time and builtAt with build summary at the bottom
2020-09-03 22:12:52 +02:00
Tobias Koppers
8497cd34c6
move start and endTime from Stats to Compilation
2020-09-03 22:01:25 +02:00
Tobias Koppers
ce97f40bb7
update test case for changed stats format
...
fix bug with groupModulesByType flag
rename stats.runtime to stats.runtimeModules
2020-09-02 10:51:10 +02:00
Tobias Koppers
8904dd7b91
rename groupAssetsByStatus to groupAssetsByEmitStatus
2020-09-01 20:52:34 +02:00
Tobias Koppers
be021e00f4
add grouping of modules
2020-09-01 18:31:22 +02:00
Tobias Koppers
3ea9400505
add grouping of assets
2020-09-01 18:16:43 +02:00
Tobias Koppers
9735d25967
fix incorrect cast
2020-08-07 17:05:48 +02:00
Ivan Kopeykin
027f2f31c5
pretty formatting
2020-08-06 23:14:27 +03:00
Ivan Kopeykin
18ded069f9
fix discussions
2020-08-06 22:56:25 +03:00
Ivan Kopeykin
8cf511dc94
Merge branch 'master' into chore/todos-to-defined-types
2020-08-06 22:48:20 +03:00
Ivan Kopeykin
4fc44a3398
add more types
2020-08-02 23:47:54 +03:00
Tobias Koppers
d0ef2ce43f
display assets in stats in a list instead of a table
...
group related assets below the parent asset
2020-08-02 08:07:32 +02:00
Tobias Koppers
e16bdfda6c
refactor used exports analysis, hashing, code generation, optimizations
...
to keep track of runtimes, used exports depending on runtime
modules can have different hashes and generated code depending on runtime
chunks are only considered as equal for MergeDuplicateChunks and SplitChunks when exports used in contained modules are equal
added `optimization.usedExports: "global"` to opt-out from used exports analysis per runtime
added `splitChunks.usedExports` and `splitChunks.cacheGroups[x].usedExports` to enable/disable used exports comparing for modules
`splitChunks.usedExports` defaults to `true` in production
2020-07-27 22:40:44 +02:00
Tobias Koppers
b9c50fdb09
fix jsdoc documentations
2020-04-28 19:42:58 +02:00
Tobias Koppers
8509a225e9
use bindContextCache more often
2020-04-17 10:54:27 +02:00
Varun Varada
a3b493a365
Fix measurement formatting as per SI rules
...
According to the SI, there should be a space between a measurement
quantity and its unit symbol, so this commit fixes this issue
throughout Webpack.
2020-04-07 17:27:45 -05:00
Mohsen Azimi
7b07a8db66
Upgrade to Prettier 2
2020-03-28 18:20:24 -04:00
Tobias Koppers
4da880e658
remove Array.prototype.reduce calls to simplify code
2020-01-21 09:45:25 +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
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
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
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
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
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