How to compile multiple files .fsxusing Fable?
I (naively) tried to just pass an array from the fable.config file as follows:
{
"outDir": "app",
"projFile":["app/index.fsx", "app/testmod.fsx"],
"sourceMaps": true,
"targets": {
"production": {
"sourceMaps": false
}
}
}
but get a warning:
ARG ERROR: TypeError: Path must be a string. Received [ 'app/index.fsx', 'app/testmod.fsx' ]
I know that I can make a full-blown .fsproj file and point it to a fable compiler, but it seems too complicated to add a link.
Does it seem like I'm missing something really simple?
source
share