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

misc(logger): add types, remove cjs #15279

Merged
merged 3 commits into from
Jul 17, 2023
Merged

misc(logger): add types, remove cjs #15279

merged 3 commits into from
Jul 17, 2023

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Jul 17, 2023

We could keep CJS support with rollup the way it currently is. Unfortunately, esbuild doesn't handle the default export the way we want and requires a workaround with a wrapper file.

This PR also adds type compilation so we don't need to add an extra lighthouse-logger.d.ts in the main Lighthouse repo and also chrome launcher.

#14909

@adamraine adamraine requested a review from a team as a code owner July 17, 2023 18:04
@adamraine adamraine requested review from connorjclark and removed request for a team July 17, 2023 18:04
@adamraine adamraine mentioned this pull request Jul 17, 2023
20 tasks
@adamraine adamraine changed the title misc: upgrade logger to 2.0 misc(logger): add types, remove cjs Jul 17, 2023
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