Skip to content

Commit

Permalink
Update lib/internal/modules/esm/create_dynamic_module.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
GeoffreyBooth and aduh95 committed Sep 17, 2023
1 parent 9cd82da commit ca693a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/modules/esm/create_dynamic_module.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import.meta.exports.${name} = {
* @property {string[]} imports - The imports of the module.
* @property {string[]} exports - The exports of the module.
* @property {(cb: (reflect: DynamicModuleReflect) => void) => void} onReady - Callback to evaluate the module.
* @returns {{ module: ModuleWrap, reflect: DynamicModuleReflect}}
*/
const createDynamicModule = (imports, exports, url = '', evaluate) => {
debug('creating ESM facade for %s with exports: %j', url, exports);
Expand Down

0 comments on commit ca693a7

Please sign in to comment.