Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.34 KB

File metadata and controls

31 lines (18 loc) · 1.34 KB

Node.js Loaders Team Meeting 2022-06-21

Links

Present

  • Loaders team: @nodejs/loaders
  • Geoffrey Booth: @GeoffreyBooth
  • Guy Bedford: @guybedford
  • Bradley Farias: @bmeck
  • Jacob Smith: @JakobJingleheimer

Agenda

  • #89: Proposal for preImport hook

Notes

Moving loaders off-thread might let us preserve an async resolve hook, with an import.meta.resolve that will appear to user code to be synchronous (can be called without await).

Plan per today:

  • Revert the PR that changed our loader resolve hook and import.meta.resolve to become sync, with a note that the PR will go back in if we discover that we can’t keep our async resolve hook with sync-looking import.meta.resolve via moving loaders off-thread. (Or if we discover that we can’t move loaders off-thread after all.)

  • Close the preImport PR for now, as we won’t need it if we can preserve the async resolve.

  • Work on moving loaders off thread. Confirm that we can keep the async resolve hook. If we succeed, we’re done and we can move on without reviving the old sync resolve and preImport PRs.