You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you have both client and server folders with files in typescript in your project, you have to make different rules for compilation.
It would be awesome to be able to specify specific rules for directories.
How about going up in Hierarchy and merging all tsconfig.json with priority to deepest config before compiling a file?
The text was updated successfully, but these errors were encountered:
narf
changed the title
Accept multiple tsconfig.json (client/server)
Accept multiple tsconfig.json (ex: client/server)
Apr 10, 2015
How about going up in Hierarchy and merging all tsconfig.json with priority to deepest config before compiling a file?
We have been giving quite a lot of thought to this. merging all tsconfig.json with priority to deepest config before compiling a file? alone will not work as e.g. the deepest config might be target:amd and the outer one will be target:commonjs and you want the result of both compilations.
The plan :
emit and build need to to be done for both tsconfig.json.
code intelligence only done for inner tsconfig (sort of like you are suggesting). That means you cannot mistakenly use outer tsconfig stuff in an inner file and you still get inner file stuff when editing an outer file.
When you have both client and server folders with files in typescript in your project, you have to make different rules for compilation.
It would be awesome to be able to specify specific rules for directories.
How about going up in Hierarchy and merging all tsconfig.json with priority to deepest config before compiling a file?
The text was updated successfully, but these errors were encountered: