-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Typescript 3 --build ignores baseUrl #25682
Comments
Can you share more details? |
I can try, just imagine you have a project/module called Then in the lib some files will reference other files, the easy way is to do relative imports, for example in This was only possible with Webpack/Gulp or other build systems, by using the tsconfig setting But now TSC is actually also a basic build tool, so is a reasonable expectation that if someone does |
is this the same as #25613? |
I don't think is the same |
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed. |
TypeScript Version: 3.0.0-rc
Search Terms: baseUrl
Code
tsc --build tsconfig.json
Expected behavior:
Now that Typescript 3.0 compiler claims to be a also a simple project builder, I would expect compiled output to resolve absolute imports to itself based on
baseUrl
setting.Actual behavior:
It still outputs unresolved require paths.
The text was updated successfully, but these errors were encountered: