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: 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 marked this pull request as ready for review June 25, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant