CLI code to update tsconfig.json
paths will remove any comments
#40
Labels
bug
Something isn't working
tsconfig.json
paths will remove any comments
#40
Background
Because
tsconfig.json
supports// comments
simply loading and then saving JSON to the file will replace the file's contents and so remove any comments:https://github.com/davestewart/alias-hq/blob/master/cli/utils/file.js#L20
Proposal
Replace only the paths part of the file.
Ideas:
The text was updated successfully, but these errors were encountered: