Title: Add support for "exclude" in tsconfig.json · Issue #3043 · microsoft/TypeScript · GitHub
Open Graph Title: Add support for "exclude" in tsconfig.json · Issue #3043 · microsoft/TypeScript
X Title: Add support for "exclude" in tsconfig.json · Issue #3043 · microsoft/TypeScript
Description: tsconfig.json picks all files in the containing folder by default, this is problematic with "node_modules" that contain .ts/.d.ts that are not relevant to the project. "files" is not useful here because of the lack of support for globs (...
Open Graph Description: tsconfig.json picks all files in the containing folder by default, this is problematic with "node_modules" that contain .ts/.d.ts that are not relevant to the project. "files" is not useful here be...
X Description: tsconfig.json picks all files in the containing folder by default, this is problematic with "node_modules" that contain .ts/.d.ts that are not relevant to the project. "files" i...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/3043
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for \"exclude\" in tsconfig.json","articleBody":"tsconfig.json picks all files in the containing folder by default, this is problematic with \"node_modules\" that contain .ts/.d.ts that are not relevant to the project. \"files\" is not useful here because of the lack of support for globs (see #1927).\n\nProposal:\n- support a new property \"exclude\" that specifies a list of directories/files to exclude.\n- \"exclude\" is ignored if \"files\" is present.\n\n``` JSON\n{\n \"compilerOptions\": {\n \"out\": \"../../built/local/tsc.js\",\n \"sourceMap\": true\n },\n \"exclude\": [\n \"script/helper.ts\",\n \"node_modules\"\n ]\n}\n```\n\nNote: This is needed if we want any of gulp/grunt/task runner/ProjectK support in VS .\n","author":{"url":"https://github.com/mhegazy","@type":"Person","name":"mhegazy"},"datePublished":"2015-05-05T17:52:00Z","url":"https://github.com/microsoft/TypeScript/issues/3043"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e3b061a7-97be-43b4-af5b-f6ba122cebe2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA96:4BB79:BF408F:F546D7:6B00FEAB |
| html-safe-nonce | fd7f75be29935059e061ac532eea3dcb0bd7aa68156d5995b79c4ed72c608865 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTk2OjRCQjc5OkJGNDA4RjpGNTQ2RDc6NkIwMEZFQUIiLCJ2aXNpdG9yX2lkIjoiNzA1MDc3OTczNTkzNjg1Njc1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 263f57a504345e61bda3b01f03e1f3cbcf9256b0001afdcef4f91cd8d7a0fa46 |
| hovercard-subject-tag | issue:73382462 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/3043/issue_layout |
| twitter:image | https://opengraph.githubassets.com/50baad03fe199181ab8aeb929f0588c903d3bbbd5dade7ada1b217775fa2d364/microsoft/TypeScript/issues/3043 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/50baad03fe199181ab8aeb929f0588c903d3bbbd5dade7ada1b217775fa2d364/microsoft/TypeScript/issues/3043 |
| og:image:alt | tsconfig.json picks all files in the containing folder by default, this is problematic with "node_modules" that contain .ts/.d.ts that are not relevant to the project. "files" is not useful here be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mhegazy |
| hostname | github.com |
| expected-hostname | github.com |
| None | e208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7dafd017fb7809a839c443dba08622af38e63c09 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width