ts2fable
ts2fable copied to clipboard
Can't export multiple files
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.
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