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

Move to ESM #96

Open
pixelastic opened this issue Jul 20, 2021 · 2 comments
Open

Move to ESM #96

pixelastic opened this issue Jul 20, 2021 · 2 comments

Comments

@pixelastic
Copy link
Owner

pixelastic commented Jul 20, 2021

With all the underlying packages moving to ESM, I will have to do the same at some point.

@pixelastic
Copy link
Owner Author

Great point in GoogleChrome/lighthouse#12689

The package.json type field is what enables esmodules (we don't want to do .mjs), and luckily the nearest package.json file is used, so during the transition we can just write {type: "module"} files where necessary.

@pixelastic
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant