denoland / denoland/deno_graph

Support CommonJs dependency analysis

Open
#58 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
137
Forks
47
Avg merge
2d 7h
Merged PRs (30d)
4

Description

swc already supports parsing this out (we just simply discard those nodes at the moment), but I think the best way we can identify them in the graph is to add a `is_require` to the resolved dependency and pass it in the `load()` method, like we do with `is_dynamic`.

I will work on a PR for it. Makes me feel a bit 🤢 though 😉.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.