1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
error TS2209: The project root is ambiguous, but is required to resolve export map entry '.' in file 'tests/cases/compiler/package.json'. Supply the `rootDir` compiler option to disambiguate.
!!! error TS2209: The project root is ambiguous, but is required to resolve export map entry '.' in file 'tests/cases/compiler/package.json'. Supply the `rootDir` compiler option to disambiguate.
==== tests/cases/compiler/package.json (0 errors) ====
{
"name": "@this/package",
"type": "module",
"exports": {
".": "./dist/index.js"
}
}
==== tests/cases/compiler/index.ts (0 errors) ====
import * as me from "@this/package";
me.thing();
export function thing(): void {}
|