Skip to content

[WIP] convert all files to ES Module format #1689

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

Closed
wants to merge 8 commits into from
Closed

[WIP] convert all files to ES Module format #1689

wants to merge 8 commits into from

Conversation

trusktr
Copy link
Member

@trusktr trusktr commented Dec 10, 2021

Summary

(WIP) convert all files to ESM.

What kind of change does this PR introduce?

Refactor

For any code change,

  • Related documentation has been updated if needed
  • Related tests have been updated or tests have been added

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

Tested in the following browsers:

@vercel
Copy link

vercel bot commented Dec 10, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/docsify-core/docsify-preview/3Ssdy3KfPfdZWPDfDwcGYTGquhng
✅ Preview: https://docsify-preview-git-esm-docsify-core.vercel.app

@trusktr trusktr marked this pull request as draft December 10, 2021 04:11
…SM+Playwright separately, as I cannot currently run them locally)
ESLint doesn't support ESM config files yet.
I tried to stay on prettier v1, but it doesn't work in a package with
type:module (ESM) because ESLint for some reason would then complain
about almost 4000 errors which would require a *ton* of format changes
to fix. As a result I had to update to Prettier v2 for it to work
properly, and this required only a few format updates to the codebase.
@trusktr
Copy link
Member Author

trusktr commented Jun 25, 2023

Closing, making a new PR.

@trusktr trusktr closed this Jun 25, 2023
@sy-records sy-records deleted the esm branch July 17, 2023 02:06
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

Successfully merging this pull request may close these issues.

1 participant