chore: add sample on how to use esm with nodejs experimental flag

This commit is contained in:
Micael Levi L. Cavalcante
2024-10-12 12:23:41 -04:00
parent aff30bf63d
commit e15d73190d
14 changed files with 6423 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ async function executeNpmScriptInSamples(
*/
const minNodejsVersionBySampleNumber = {
'34': 18, // we could use `engines.node` from package.json instead of hardcoding
'35': 22,
};
for await (const dir of directories) {