Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Support for tsconfig.json #268

Closed
Closed
@jonnermut

Description

@jonnermut

I have a long standing issue with output files which I've never really resolved, which is that within the one Eclipse project I have two src folders:
src/main/typescript
src/test/typescript

The files in src/test/typescript obviously heavily reference the files in src/main/typescript.

And I want to output two separate .js files, which contain the compiled output for all files in those folders:
main.js
test.js

(I would actually like to add a 3rd folder and output file as well, but need to support this in eclipse first)

For my automated build, I use gradle to collect the input files and run tsc twice. However I've never been able to configure the Eclipse plugin to do the same output.

In typescript 1.5, the gradle step is simpler if I just put a tsconfig.json file in each folders. Then I can just run tsc without any params, and it picks up all .ts files and dumps a single output file as I want.

However it seems the Eclipse plugin doesn't know about tsconfig.json files yet? If I leave output file blank in the typescript settings, it reverts to a .js file per .ts file. If I set it, it compiles both folders into the one file.

Any pointers on how I could set this up?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions