We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.ts
node_modules
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 Version: 2.1.0-dev.20161101
node_modules/foo/index.ts: (note the .ts)
export const x = 0;
app/index.ts:
import * as foo from "foo"; foo.x + 1;
app/tsconfig.json:
{ "compilerOptions": { "outDir": "bin" } }
Expected behavior:
Writes to bin/index.js.
bin/index.js
Actual behavior:
Writes to bin/app/index.js.
bin/app/index.js
The problem is that getCommonSourceDirectory considers all files, not just the ones that will actually be emitted.
getCommonSourceDirectory
The text was updated successfully, but these errors were encountered:
No branches or pull requests
TypeScript Version: 2.1.0-dev.20161101
Code
node_modules/foo/index.ts: (note the
.ts
)app/index.ts:
app/tsconfig.json:
Expected behavior:
Writes to
bin/index.js
.Actual behavior:
Writes to
bin/app/index.js
.The problem is that
getCommonSourceDirectory
considers all files, not just the ones that will actually be emitted.The text was updated successfully, but these errors were encountered: