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
I want to generate both es5 and es6 versions of my TS project into different directories. But current tsconfig.json seems to support only one configuration. I suggest that tsconfig.json supports configuration like this(similar to webpack.config.js):
As noted by @kitsonk, configuration inheritance (i.e. using extends in a tsconfig.json file to inherit configurations) would be the solution here. you can use it if you are using typescript@next.
With that, you would have a master tsconfig.json file, and a set of overrides, tsconfig.es6.json and tsconfig.es5.json, etc.. you call the compiler on the override files, so tsc --p tsconfig.es6.json.
I want to generate both es5 and es6 versions of my TS project into different directories. But current tsconfig.json seems to support only one configuration. I suggest that tsconfig.json supports configuration like this(similar to webpack.config.js):
The text was updated successfully, but these errors were encountered: