We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: 3.1.0-dev.20180822
Search Terms: build clean sourcemap source maps .map
Expected behavior:
tsc --build src --clean should remove all files generated by tsc --build src.
tsc --build src --clean
tsc --build src
Actual behavior:
It removes .js, .d.ts, and .d.ts.map files, but not .js.map.
.js
.d.ts
.d.ts.map
.js.map
Due to #25864 I'm building without outDir or rootDir, e.g. the output files are created beside the source files, if that matters.
outDir
rootDir
My project structure is as described in the handbook for project references:
src/tsconfig.json // references: [a, b], files: [] src/tsconfig.base.json // composite: true, etc... src/common/tsconfig.json // extends: ../tsconfig.base.json src/common/some-common.ts ... src/a/tsconfig.json // extends: ../tsconfig.base.json, references: [common] src/a/some-a.ts ... src/b/tsconfig.json // extends: ../tsconfig.base.json, references: [common] src/a/some-b.ts ...
The text was updated successfully, but these errors were encountered:
Add js source maps to list of outputs when doing --build
723e64b
Fixes #26619
Seems like this bug is bag, again running tsc --build --clean leaves all files intact!
tsc --build --clean
❯ ./node_modules/.bin/tsc --version Version 3.9.7 ❯ node --version v15.2.0
Sorry, something went wrong.
@zkhalapyan please open a new issue with steps to reproduce the problem
sheetalkamat
No branches or pull requests
TypeScript Version: 3.1.0-dev.20180822
Search Terms:
build clean sourcemap source maps .map
Expected behavior:
tsc --build src --clean
should remove all files generated bytsc --build src
.Actual behavior:
It removes
.js
,.d.ts
, and.d.ts.map
files, but not.js.map
.Due to #25864 I'm building without
outDir
orrootDir
, e.g. the output files are created beside the source files, if that matters.My project structure is as described in the handbook for project references:
The text was updated successfully, but these errors were encountered: