bafolts / tplant

Typescript to plantuml
https://segmentationfaults.com/tplant/default.html
GNU General Public License v3.0
270 stars 35 forks source link

Use custom tsconfig #24

Closed marcosvrs closed 5 years ago

marcosvrs commented 5 years ago

Now, we always use an default configuration.

options: ts.CompilerOptions = {
    module: ts.ModuleKind.CommonJS,
    target: ts.ScriptTarget.ES2015
}

It can change from project to project, so we should be able to define an custom tsconfig.json file for the compiler.

Like:

tplant -i Foo/Bar.ts --tsconfig Foo/tsconfig.json

marcosvrs commented 5 years ago

Published