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 was 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)
require-likeusesModule._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-likecode: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)