diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-30 14:37:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-30 14:37:06 +0200 |
commit | 46bfcbbaa84b4b715f3b829c9b4ac3b5154adfb6 (patch) | |
tree | f856f4ccb96ac4c3eca4105985684885bf62d824 /cli/js.rs | |
parent | 5f8c4d9b686efc10abe2abb7ba453020ecfe4814 (diff) |
refactor(core): add "prepare_load" hook to ModuleLoader trait (#4866)
This PR adds prepare_load hook method to ModuleLoader trait. It allows implementors to perform preparation work before starting actual module loading into isolate. It's meant to be used in CLI; where "transpilation" step will be explicitly performed during prepare_load instead of doing it adhoc for each module if needed.
Diffstat (limited to 'cli/js.rs')
0 files changed, 0 insertions, 0 deletions