Skip to content

Commit

Permalink
fix typo of "implementationOfRequireOrImportForUnstableEsm"
Browse files Browse the repository at this point in the history
  • Loading branch information
giltayar committed May 28, 2021
1 parent 3637b76 commit d68d8ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/esm-utils.js
Expand Up @@ -55,7 +55,7 @@ exports.requireOrImport = hasStableEsmImplementation
}
}
}
: implemenetationOfRequireOrImportForUnstableEsm;
: implementationOfRequireOrImportForUnstableEsm;

function dealWithExports(module) {
if (module.default) {
Expand All @@ -73,7 +73,7 @@ exports.loadFilesAsync = async (files, preLoadFunc, postLoadFunc) => {
}
};

async function implemenetationOfRequireOrImportForUnstableEsm(file) {
async function implementationOfRequireOrImportForUnstableEsm(file) {
if (path.extname(file) === '.mjs') {
return formattedImport(file);
}
Expand Down

0 comments on commit d68d8ea

Please sign in to comment.