Skip to content

Commit

Permalink
paths
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Oct 14, 2020
1 parent c5aa5f2 commit 772ff2b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build-tracker.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'dist/lightrider/lighthouse-lr-bundle.js',
'dist/extension/scripts/lighthouse-ext-bundle.js',
'dist/lighthouse-dt-bundle.js',
'dist/viewer/src/viewer.js',
'dist/gh-pages/viewer/src/bundled.js',
'dist/lightrider/report-generator-bundle.js',
'dist/dt-report-resources/report.js',
'dist/dt-report-resources/report-generator.js',
Expand Down
4 changes: 3 additions & 1 deletion lighthouse-viewer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ Run the following in the root folder of a Lighthouse checkout:

* `yarn`
* `yarn build-viewer`
* `yarn serve-gh-pages`
* `open http://localhost:8000/viewer/`

This compiles and minifies `app/src/main.js`. Results are written to `dist/viewer/`.
This compiles and minifies `app/src/main.js`. Results are written to `dist/gh-pages/viewer/`.

## Deploy

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"chrome": "node lighthouse-core/scripts/manual-chrome-launcher.js",
"fast": "yarn start --emulated-form-factor=none --throttlingMethod=provided",
"deploy-viewer": "yarn build-viewer --deploy",
"now-build": "node lighthouse-core/scripts/build-report-for-autodeployment.js && yarn build-viewer && cp -r dist/viewer dist/now/viewer",
"now-build": "node lighthouse-core/scripts/build-report-for-autodeployment.js && yarn build-viewer && cp -r dist/gh-pages dist/now/gh-pages",
"dogfood-lhci": "./lighthouse-core/scripts/dogfood-lhci.sh",
"timing-trace": "node lighthouse-core/scripts/generate-timing-trace.js",
"changelog": "conventional-changelog --config ./build/changelog-generator/index.js --infile changelog.md --same-file",
Expand Down

0 comments on commit 772ff2b

Please sign in to comment.