Skip to content

Commit 65b88b5

Browse files
brendankennypaulirish
authored andcommitted
misc: nest deployed-report directory (GoogleChrome#9434)
1 parent d8c1186 commit 65b88b5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lighthouse-core/scripts/build-report-for-autodeployment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const {defaultSettings} = require('../config/constants.js');
1919
const lighthouse = require('../index.js');
2020
const lhr = /** @type {LH.Result} */ (require('../../lighthouse-core/test/results/sample_v2.json'));
2121

22-
const DIST = path.join(__dirname, `../../dist`);
22+
const DIST = path.join(__dirname, `../../dist/now`);
2323

2424
(async function() {
2525
addPluginCategory(lhr);

now.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"builds": [
44
{
55
"src": "package.json",
6-
"use": "@now/static-build"
6+
"use": "@now/static-build",
7+
"config": {"distDir": "dist/now"}
78
}
89
],
910
"github": {

0 commit comments

Comments
 (0)