You can do the same thing you showed above in esm:    ```js  //bar.js  vm = require("vm")  req = specifier => import(specifier);  vm.runInThisContext(`req('./foo.js')`).then(console.log)  ```    The above should just work.    (The only difference is that you can't assign `import` itself because it's not an identifier. But that's a restriction in the language we can't really do anything about.)