-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
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
feat(jsii): allow customizing tsconfig.json file name #3076
Conversation
In order to support environment in which users want to use the default name tsconfig.json for a different compiler configuration (e.g. configuration that includes both sources and test files), add a switch to the jsii compiler that allows customizing the name of the generated tsconfig.json file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I fully understand the use-case, in particular, that scenario sounds like we might be building a footgun... As it becomes all too easy for people to cause the .js
files that'll end up packaged up (by jsii-packmak
) to have been transformed with a configuration that is incompatible with the runtimes.
In order to support environment in which users want to use the default name tsconfig.json for a different compiler configuration (e.g. configuration that includes both sources and test files), add a switch to the jsii compiler that allows customizing the name of the generated tsconfig.json file.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.