5 ms·
I don't see why it wouldn't be possible to hide behind a flag once Node.js supports zopfli natively. In case of CI/CD, it's totally feasible to just add a --str
by nikeee 2y ago
I don't see why it wouldn't be possible to hide behind a flag once Node.js supports zopfli natively.
In case of CI/CD, it's totally feasible to just add a --strong-compression flag. In that case, the user expects it to take its time.
TS releases a non-preview version every few months, so using 2.5 minutes for compression would work.
- jopsen 2y agoThink of the complexity involved, think of having to fix bugs because something went wrong. Such effort would be better spent preparing npm/node for a future where packages with a lower-bound npm version constraint can be compressed with zstd or similar. Every feature you add to a program is complexity, you need to really decide if you want it.