Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clients(viewer): convert to ES modules #12878

Merged
merged 9 commits into from
Aug 10, 2021
Merged

clients(viewer): convert to ES modules #12878

merged 9 commits into from
Aug 10, 2021

Conversation

connorjclark
Copy link
Collaborator

ref #12689

  • convert lighthouse-viewer/app/src to esm
  • remove report/clients/viewer.js
  • adds rollup: true option to GithubPagesApp

I had wanted to start with treemap (last in first out), but treemap uses a few things from viewer which made that not simple (until after this PR).

@connorjclark connorjclark requested a review from a team as a code owner August 7, 2021 00:17
@connorjclark connorjclark requested review from patrickhulce and removed request for a team August 7, 2021 00:17
@google-cla google-cla bot added the cla: yes label Aug 7, 2021
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

I think the plugin dep should fix our failing tests and vercel deployment, but I'll do a another pass when they're back up :)

build/gh-pages-app.js Show resolved Hide resolved
lighthouse-treemap/tsconfig.json Show resolved Hide resolved
build/gh-pages-app.js Show resolved Hide resolved
@@ -0,0 +1,19 @@
/**
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getting rid of one temporary file for another :)

viewer: _LighthouseReportViewer;
ga: UniversalAnalytics.ga;

// Inserted by viewer gulpfile build.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol gulp

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@connorjclark connorjclark merged commit 52beae3 into master Aug 10, 2021
@connorjclark connorjclark deleted the esm-viewer branch August 10, 2021 17:06
@connorjclark connorjclark mentioned this pull request Feb 23, 2022
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants