Skip to content

Commit

Permalink
πŸ— Misc tsconfig updates (ampproject#35787)
Browse files Browse the repository at this point in the history
* update compilerOptions.paths to handle barrel files (index.js) in VSCode

* update includes/excludes allowlist/blocklist src files
  • Loading branch information
kvchari authored and Mahir committed Sep 9, 2021
1 parent dc386a1 commit 6decaa5
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@
"#build/*": ["./build/*"],

"#builtins/*": ["./src/builtins/*"],
"#compiler": ["./src/compiler"],
"#compiler/*": ["./src/compiler/*"],
"#core/*": ["./src/core/*"],
"#experiments": ["./src/experiments"],
"#experiments/*": ["./src/experiments/*"],
"#inabox/*": ["./src/inabox/*"],
"#polyfills": ["./src/polyfills"],
"#polyfills/*": ["./src/polyfills/*"],
"#preact": ["./src/preact"],
"#preact/*": ["./src/preact/*"],
"#purifier": ["./src/purifier"],
"#purifier/*": ["./src/purifier/*"],
"#service": ["./src/service"],
"#service/*": ["./src/service/*"],

"#test/*": ["./test/*"],
Expand All @@ -25,5 +31,14 @@
"#third_party/*": ["./third_party/*"]
}
},
"exclude": ["node_modules", "dist"]
"include": [
"src",
"3p",
"ads",
"extensions",
"test",
"testing",
"third_party"
],
"exclude": ["build", "dist", "dist.*", "node_modules"]
}

0 comments on commit 6decaa5

Please sign in to comment.