Ability to specify default tsconfig options
See original GitHub issueHello,
I am trying to make microbundle switch to using this plugin for typescript compilation (see developit/microbundle#71).
As part of that change (and to keep with the #0CJS approach of microbundle) we’d like to generate declaration by default when the user does not provide a tsconfig.json. However if the user explicitly does not want declaration files to be generated, we should respect that.
Currently there is only a way to override tsconfig options with tsconfigOverride
. Would you be open to adding a tsconfigDefaults
option that would be overridden by explicit tsconfig.json
values ?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
TSConfig Reference - Docs on every TSConfig option
From allowJs to useDefineForClassFields the TSConfig reference includes information about all of the active compiler flags setting up a TypeScript project.
Read more >Please add default values to tsconfig.json compiler ... - GitHub
Please add default values to tsconfig.json compiler options specification so it won't be a matter of guessing whether to be required to add...
Read more >What are the default compilerOptions in a TypeScript tsconfig ...
1 Answer 1 · charset : utf8. You don't need to mess with this in most cases · locale : en-us . I...
Read more >TypeScript tutorial with Visual Studio Code
Add a simple tsconfig.json that set the options to compile to ES5 and use ... By default, TypeScript includes all the .ts files...
Read more >Configuring TypeScript compiler - inDepthDev
If both outDir and outFile options are specified, the latter takes precedence and the outDir option is ignored. By default, TS compiler produces...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Check if
tsconfigDefaults
branch works for you.Should be in 0.11.0 now