diff --git a/lighthouse-core/scripts/build-report-for-autodeployment.js b/lighthouse-core/scripts/build-report-for-autodeployment.js index 1fd9c29046e5..ea1260a86e3c 100644 --- a/lighthouse-core/scripts/build-report-for-autodeployment.js +++ b/lighthouse-core/scripts/build-report-for-autodeployment.js @@ -19,7 +19,7 @@ const {defaultSettings} = require('../config/constants.js'); const lighthouse = require('../index.js'); const lhr = /** @type {LH.Result} */ (require('../../lighthouse-core/test/results/sample_v2.json')); -const DIST = path.join(__dirname, `../../dist`); +const DIST = path.join(__dirname, `../../dist/now`); (async function() { addPluginCategory(lhr); diff --git a/now.json b/now.json index 02b220f9dada..9e04006d223d 100644 --- a/now.json +++ b/now.json @@ -3,7 +3,8 @@ "builds": [ { "src": "package.json", - "use": "@now/static-build" + "use": "@now/static-build", + "config": {"distDir": "dist/now"} } ], "github": {