Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't export multiple files #340

Open
robertpi opened this issue Mar 28, 2020 · 1 comment
Open

Can't export multiple files #340

robertpi opened this issue Mar 28, 2020 · 1 comment

Comments

@robertpi
Copy link

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.

@humhei
Copy link
Contributor

humhei commented Mar 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants