You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
This seems to be the "modern" way to achieve the same behavior, using a built-in API, and would get rid of a useless dependency.
(and this would permit to use this lib in Bun, until they support the older Module apis)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
require-like
usesModule._load
, an API that is not supported by Bun (atm): oven-sh/bun#5925This led to bugs in Docusaurus Bun support:
oven-sh/bun#3426 (comment)
This can be prevented by using this Node API instead of the very old
require-like
code:This seems to be the "modern" way to achieve the same behavior, using a built-in API, and would get rid of a useless dependency.
(and this would permit to use this lib in Bun, until they support the older Module apis)
The text was updated successfully, but these errors were encountered: