Skip to content

clients(viewer): convert to ES modules#12878

Merged
connorjclark merged 9 commits into
masterfrom
esm-viewer
Aug 10, 2021
Merged

clients(viewer): convert to ES modules#12878
connorjclark merged 9 commits into
masterfrom
esm-viewer

Conversation

@connorjclark

Copy link
Copy Markdown
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

@patrickhulce patrickhulce left a comment

Copy link
Copy Markdown
Collaborator

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 :)

Comment thread build/gh-pages-app.js
Comment thread lighthouse-treemap/tsconfig.json
Comment thread build/gh-pages-app.js
@@ -0,0 +1,19 @@
/**

Copy link
Copy Markdown
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
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

lol gulp

@patrickhulce patrickhulce left a comment

Copy link
Copy Markdown
Collaborator

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