We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a1a55b commit 1a21a7dCopy full SHA for 1a21a7d
src/index.ts
@@ -7,7 +7,7 @@ import * as _ts from 'typescript'
7
8
/**
9
* Does this version of node obey the package.json "type" field
10
- * and attempt to load scripts as ESM
+ * and throw ERR_REQUIRE_ESM when attempting to require() an ESM modules.
11
*/
12
const engineSupportsPackageTypeField = parseInt(process.versions.node.split('.')[0], 10) >= 12
13
0 commit comments