alexander.akait
ab47c696a4
refactor(types): more
2023-06-03 20:52:25 +03:00
alexander.akait
02590bfdc7
chore: improve types
2023-04-21 19:22:33 +03:00
Ryan Wilson-Perkin
52b1b0e4ad
Revert "Improve performance of hashRegExp lookup"
2023-03-10 10:04:26 -05:00
Sean Larkin
710eaf4dda
Merge pull request #16789 from dmichon-msft/contenthash-hashsalt
...
Respect output.hashSalt in RealContentHashPlugin
2023-03-08 10:59:00 -08:00
David Michon
07283fabc4
Respect output.hashSalt in RealContentHashPlugin
...
Fix #16788
Update RealContentHashPlugin to initialize hash instances with
the value of `output.hashSalt`, if provided.
2023-03-07 16:15:36 -08:00
Ryan Wilson-Perkin
cfdb1dfe59
Improve performance of hashRegExp lookup
...
For applications with a very large number of assets, the cost of
invoking a single regular expression with many many values in a group
becomes very high.
By changing to a list of regular expressions (with helper methods for
maintaining the original design) we can get a large performance
improvement.
2023-02-24 16:17:15 -05:00
Yehor Lvivski
d4b1d69ef0
Initialize hash conditionally
2022-11-19 12:48:50 +01:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
70376ad4ec
fix problem where emitting an asset twice affects the hash
2021-03-01 09:51:46 +01:00
Tobias Koppers
ed742e071b
add test case like html-plugin
2020-11-26 14:00:21 +01:00
Tobias Koppers
ccfe01aab4
allow to process assets that are added during processAssets
...
fix and add processAsset stages
allow to hook into RealContentHashPlugin for custom hashing
2020-11-26 14:00:21 +01:00
Tobias Koppers
84b196d32d
emit error instead of crashing when unexpected problem occurs
2020-10-09 09:14:34 +02:00
Tobias Koppers
e0b10e9935
fix caching bug in RealContentHashPlugin
2020-09-16 11:12:41 +02:00
Tobias Koppers
49a28a73cf
accept Source-like objects in assets and cache sources for RealContentHashPlugin
2020-08-20 09:54:59 +02:00
Tobias Koppers
b13fe97801
fix edgecase without any hash used
2020-08-19 11:37:17 +02:00
Tobias Koppers
e3fcabd6f6
add caching to RealContentHashPlugin
2020-08-19 11:25:53 +02:00
Tobias Koppers
2748077a4d
bugfixes
2020-08-19 09:46:41 +02:00
Tobias Koppers
b929d4cdce
calculate real content hash for assets after asset processing
2020-08-18 22:07:24 +02:00