Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why do build json files not include baseUrl? #10

Open
tommedema opened this issue Jul 16, 2018 · 0 comments
Open

why do build json files not include baseUrl? #10

tommedema opened this issue Jul 16, 2018 · 0 comments

Comments

@tommedema
Copy link

tommedema commented Jul 16, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant