We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
worker.mts
A lot of await import in https://github.com/mdx-js/eslint-mdx/blob/3bdd2eb88244aeda636c11f3ccaff35ae2c05ac2/packages/eslint-mdx/src/worker.ts and the hack loadEsmModule
await import
loadEsmModule
eslint-mdx/packages/eslint-mdx/src/helpers.ts
Lines 60 to 64 in 3bdd2eb
is unnecessary.
Just change worker.ts to pure ESM worker.mts which is just supported by synckit natively.
worker.ts
N/A
The text was updated successfully, but these errors were encountered:
JounQin
No branches or pull requests
Initial checklist
Problem
A lot of
await import
in https://github.com/mdx-js/eslint-mdx/blob/3bdd2eb88244aeda636c11f3ccaff35ae2c05ac2/packages/eslint-mdx/src/worker.ts and the hackloadEsmModule
eslint-mdx/packages/eslint-mdx/src/helpers.ts
Lines 60 to 64 in 3bdd2eb
is unnecessary.
Solution
Just change
worker.ts
to pure ESMworker.mts
which is just supported by synckit natively.Alternatives
N/A
The text was updated successfully, but these errors were encountered: