Fable icon indicating copy to clipboard operation
Fable copied to clipboard

`fable-compiler-js` only includes the `fable-library-js`

Open MangelMaxime opened this issue 1 year ago • 1 comments

Description

There an inconsistency in fable-compiler-js.

Indeed, that CLI tool can compile to any output target however, it only includes the fable-libary for the JavaScript version of Fable.

We should either includes the other fable-library versions or allows that tool to only support JavaScript like target (JavaScript and TypeScript). If we choose the later it mean we still needs to also include fable-library-ts in the distributed package.

MangelMaxime avatar May 24 '24 13:05 MangelMaxime

@MangelMaxime

We should either includes the other fable-library

Yes, we should be including all fable libraries, and the Fable JS CLI should be copying them locally to output folder in /fable_modules on compile, same as what .NET Fable CLI does.

Thank you for opening this issue, I'll take a look when I can.

ncave avatar May 24 '24 13:05 ncave