Skip to content

I wanted to know where bun keeps cache of imported modules, node js keeps it in require.cache object? #10162

Answered by Jarred-Sumner
tsp1998 asked this question in Q&A
Discussion options

You must be logged in to vote

You can use require.cache

The empty require.cache is a bug in our console.log implementation

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@tsp1998
Comment options

@tsp1998
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by tsp1998
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants