Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): Add FsModuleLoader that supports loading from filesystem #8523

Merged
merged 5 commits into from Nov 27, 2020

Conversation

magurotuna
Copy link
Member

This commit adds FsModuleLoader to deno_core, which implements ModuleLoader trait.
It is used when creating a runtime that supports module loading from filesystem. In particular, it's going to be used by deno_lint plugin feature.

Ref:

CC @bartlomieju

This commit adds `FsModuleLoader` to `deno_core`, which implements
`ModuleLoader` trait. It is used when creating a runtime that supports
module loading from filesystem.
core/modules.rs Show resolved Hide resolved
core/modules.rs Show resolved Hide resolved
core/modules.rs Outdated Show resolved Hide resolved
core/modules.rs Outdated Show resolved Hide resolved
@bartlomieju
Copy link
Member

@magurotuna I applied some changes to error handling and doc comment. I'll wait on @ry's review before landing

@bartlomieju bartlomieju requested a review from ry November 27, 2020 19:59
Copy link
Member

@ry ry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit b8d3caa into denoland:master Nov 27, 2020
@magurotuna magurotuna deleted the fs-module-loader branch November 28, 2020 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants