Alex Aubuchon
Alex Aubuchon
I, Alex Aubuchon, give permission to license my contributions to gotop under MIT.
## Some use cases I've encountered: I'm working on a custom dependency bundler and loader designed to improve cold-start startup times by transparently loading from a bundle to avoid file-system...
@guybedford Yeah! At least to me it seems right now the singular `--loader` api is insufficient for current loader use cases. For example in my projects I test with `ts-node`...
@guybedford I like the way nodejs/node#18914 chains the loaders and provides `parent` to allow fallback/augmentation of both the resolve + dynamic instantiation steps. I have some ideals for what a...
That all makes a lot of sense and I appreciate you describing it for me :slightly_smiling_face: I can start with pulling nodejs/node#18914 and getting that in a working state.
Thanks for this write-up @GeoffreyBooth! Some thoughts to add to the discussion: To me this looks like a transformer architecture, which exposes the entire in-progress module object to each hook,...
On the `afterRead` point, you're totally right -- there needs to be a way of knowing+overriding the original loaded source (which can currently be done by loading the source and...