Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add require.cache support #165

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

edusperoni
Copy link
Collaborator

Still needs android implementation

Allows for:

// some-script.js
console.log('some script logged');

// main.js
console.log('start');
require('./some-script.js');
delete require.cache['./some-script.js'];
console.log('delete');
require('./some-script.js');
console.log('end');

// output
start
some script logged
delete
some script logged
end

@cla-bot cla-bot bot added the cla: yes label May 17, 2022
@edusperoni edusperoni force-pushed the feat/require-cache branch from 2bc1ac2 to 798f27a Compare June 25, 2024 17:59
@edusperoni edusperoni marked this pull request as ready for review June 25, 2024 19:55
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant