Using a Local Fable Compiler
It is relatively easy to set up a local Fable compiler for troubleshooting the plugin.
Checkout the Fable Repository
Clone the Fable repository as a sibling to this repository.
Using Local Fable Binaries
Set <UseLocalFableCompiler>true</UseLocalFableCompiler> in Directory.Build.props. After running bun install, the daemon will be built using the local binary.
Use Local fable-library-js
Sometimes, there could be changes in @fable-org/fable-library-js that you need to reflect in the daemon's output.
Build the fable-library using ./build.sh fable-library --javascript (from the Fable repository root).
Update the package.json (in the root) to:
|
Install again using bun install.
vite-plugin-fable