Quramy / lerna-yarn-workspaces-example

How to build TypeScript mono-repo project with yarn and lerna
MIT License
898 stars 94 forks source link

why do build json files not include baseUrl? #10

Open tommedema opened 6 years ago

tommedema commented 6 years ago

Your build json file looks like:

{
  "extends": "../../tsconfig.base.json",
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "lib"
  }
}

Which means that a baseUrl is not defined. So how are relative package imports like import * as foo from 'x-cli' going to be resolved?

Any reason you did define it for the "editor" config?