[FEATURE] Add importFromFile option to support importing existing tsconfig files#26
[FEATURE] Add importFromFile option to support importing existing tsconfig files#26creifenscheid wants to merge 1 commit intob13:mainfrom
Conversation
|
Hey, thank you for your pull request. How about we do something like: |
|
Hi Benny, Thanks for your reply! That said, you’re right — allowing multiple files gives more flexibility and more possibilities. Do we need to consider the order in which settings and files are applied? Have a great weekend! |
Summary
Currently, the settings configuration is converted into tsconfig entries using a simple
key = valuemapping.Because of this, there is no way to reference or reuse an existing tsconfig file via an
@importstatement.What this PR does
This PR introduces a new configuration key:
importFromFileWhen importFromFile is set, the provided file path is converted into a valid
@importstatement, e.g.@import "EXT:my_extension/Configuration/TsConfig/user.tsconfig"This import is then applied to the generated group tsconfig, allowing existing tsconfig files to be reused instead of duplicating configuration values.