Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Loader #123

Closed
wants to merge 5 commits into from
Closed

Loader #123

wants to merge 5 commits into from

Conversation

lachrist
Copy link
Contributor

Refactor loader to prepare for nodejs/node#43942

The responsibility of the preloaded modules are confusing. Now the esm 
module loader has its own file. When node will support esm module 
preloading with `--import` flag it will be even better because it does 
not change the module loader for the main file -- cf: 
nodejs/node#40110
That way, we prevent noice from outdated loader hook.
@lachrist lachrist closed this Oct 6, 2022
@lachrist
Copy link
Contributor Author

lachrist commented Oct 6, 2022

Using cjs loader is not possible. I added some of the ideas of this PR in #128

@lachrist lachrist deleted the loader branch October 17, 2022 07:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant