tests/cases/conformance/node/allowJs/subfolder/index.js(2,11): error TS1470: The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.


==== tests/cases/conformance/node/allowJs/subfolder/index.js (1 errors) ====
    // cjs format file
    const x = import.meta.url;
              ~~~~~~~~~~~
!!! error TS1470: The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.
    export {x};
==== tests/cases/conformance/node/allowJs/index.js (0 errors) ====
    // esm format file
    const x = import.meta.url;
    export {x};
==== tests/cases/conformance/node/allowJs/package.json (0 errors) ====
    {
        "name": "package",
        "private": true,
        "type": "module"
    }
==== tests/cases/conformance/node/allowJs/subfolder/package.json (0 errors) ====
    {
        "type": "commonjs"
    }