[all] Exclude @now/build-utils in bundled builder to fix tests (#3848)

This fixes a bug in our `@now/build-utils` tests that pair the current build-utils with a stable builder. Since ncc was bundling `@now/build-utils`, we weren't able to configure a different version and these tests were not actually testing the correct version of build-utils.

A nice side-effect is that each builder will be about 50% smaller (compared by measuring `dist`).
This commit is contained in:
Steven
2020-02-27 15:48:03 -05:00
committed by GitHub
parent 22dd78e286
commit 71b6a58783
9 changed files with 48 additions and 22 deletions

View File

@@ -91,7 +91,6 @@ async function testDeployment(
bodies['now.json'] = Buffer.from(JSON.stringify(nowJson));
delete bodies['probe.js'];
const { deploymentId, deploymentUrl } = await nowDeploy(bodies, randomness);
console.log('deploymentUrl', `https://${deploymentUrl}`);
for (const probe of nowJson.probes || []) {
console.log('testing', JSON.stringify(probe));