// @target: es2022
// @module: node16,node18,node20,nodenext
// @declaration: true
// @allowJs: true
// @checkJs: true
// @outDir: out
// @filename: subfolder/index.js
// cjs format file
const x = import.meta.url;
export {x};
// @filename: index.js
// esm format file
const x = import.meta.url;
export {x};
// @filename: package.json
{
    "name": "package",
    "private": true,
    "type": "module"
}
// @filename: subfolder/package.json
{
    "type": "commonjs"
}