Webpack next per-source minification#169
Conversation
990a0b5 to
687e411
Compare
Codecov Report
@@ Coverage Diff @@
## webpack-next-cache #169 +/- ##
======================================================
+ Coverage 73.32% 73.33% +0.01%
======================================================
Files 12 13 +1
Lines 536 540 +4
======================================================
+ Hits 393 396 +3
- Misses 143 144 +1
Continue to review full report at Codecov.
|
687e411 to
d6961cf
Compare
|
Here's the difference in footprint on the self-build:
the difference there is basically the wrappers not being minified - So the question then is the extra 10s on the self build (plus inability to parallelize) worth 100KB? I'd argue it might not be... |
|
@guybedford I agree it's not. Keep in mind that once we investigate #51 I'm not even sure minification is worth it to begin with |
This implements #115 on top of #162, handling minification per-source, and therefore also caching minification per source.
The previous results it turns out were actually without minification due to #168. Here are the numbers with minification:
The build time summary of the self build here is: