wrangler: don't strip text files
On my Darwin system, this empirically cuts about 70% off total build duration, by reducing the time spent in fixupPhase from ~27m to ~5m.
This commit is contained in:
@@ -105,6 +105,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeInstallCheckInputs = [
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
# fixupPhase spends a lot of time trying to strip text files, which is especially slow on Darwin
|
||||
stripExclude+=("*.js" "*.ts" "*.map" "*.json" "*.md")
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Command-line interface for all things Cloudflare Workers";
|
||||
homepage = "https://github.com/cloudflare/workers-sdk#readme";
|
||||
|
||||
Reference in New Issue
Block a user