Fenopiù

Multiple selective tsconfig.json

Recommended Posts

I'm trying to understand how to setup my tsconfig configuration to work properly with Visual studio community 2017 and my project.

The structur of the project is:

root
    debug
         platformA
              fileX
              tsconfig.caseA.json
         platformB
              fileX
              tsconfig.caseB.json
         platformC
              fileX
              tsconfig.caseC.json
     release
         platformA
              fileX
              tsconfig.caseA.json
         platformB
              fileX
              tsconfig.caseB.json
         platformC
              fileX
              tsconfig.caseC.json
tsconfig.json

How can I do to let Visual studio understand what fileX read and give me his intellisense?

How can I tell him to compile tsconfig.json and then just the correct one of the other three tsconfig?

I've looked at the documentation https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#configuration-inheritance-with-extends but I didn't understand how to do that.

Can anyone help me, please?

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.