ts2fable icon indicating copy to clipboard operation
ts2fable copied to clipboard

Can't export multiple files

Open robertpi opened this issue 5 years ago • 1 comments

I tried:

ts2fable a.d.ts b.d.ts -e ab.fs

I get:

Error: tspaths 's length must be 1 when with --exports option

I thought the point of -e was to be able to use several files.

robertpi avatar Mar 28 '20 13:03 robertpi

Try put a.d.ts and b.d.ts into same folder foldName then try ts2fable (fullPath of a.d.ts) ab.fs -e foldName The fsFiles in the same directory(including nested directories) of a.d.ts whose fullpath has the keyword foldName will be bundled togother

humhei avatar Mar 29 '20 00:03 humhei