diff options
Diffstat (limited to 'build.js')
| -rw-r--r-- | build.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -144,11 +144,11 @@ export async function buildSpWorker({ minify = true } = {}) { } // Optional-feature selection: HAL_FEATURES is a comma list of enabled -// features (gifts,swaps,ark,sp). Unset means all; "none"/"" means a minimal +// features (gifts,swaps,ark,zaps,sp). Unset means all; "none"/"" means a minimal // on-chain-only wallet. A build plugin swaps src/features/index.js for a // generated module that only imports the enabled features, so a disabled // feature's code (and its network endpoints) never enters the bundle. -const ALL_FEATURES = { gifts: 'giftsFeature', swaps: 'swapsFeature', ark: 'arkFeature', sp: 'spFeature', sync: 'syncFeature' }; +const ALL_FEATURES = { gifts: 'giftsFeature', swaps: 'swapsFeature', ark: 'arkFeature', zaps: 'zapsFeature', sp: 'spFeature', sync: 'syncFeature' }; export function enabledFeatures(spec = process.env.HAL_FEATURES) { if (spec == null) return Object.keys(ALL_FEATURES); |
