Compile operation assumes that the entrypoint of your package (main in package.json) is at the top level of your source code tree
- e.g.
./index.ts or ./src/index.ts
- but not e.g.
./src/foo/index.ts next to ./src/bar/somethingelse.ts
- the latter would probably fail to compile all files, or will put them in the wrong directories
- or maybe I fixed all that, need to move this to an Issue
Compile operation assumes that the entrypoint of your package (
maininpackage.json) is at the top level of your source code tree./index.tsor./src/index.ts./src/foo/index.tsnext to./src/bar/somethingelse.ts