From 1f9b059161ee13a7dd93b6f09a4d9c606853c626 Mon Sep 17 00:00:00 2001 From: Brendan Kenny Date: Mon, 22 Jul 2019 17:43:34 -0700 Subject: [PATCH] misc: nest deployed-report directory --- lighthouse-core/scripts/build-report-for-autodeployment.js | 2 +- now.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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": {