kochdocs: fusion needs the js backend too (#16644)

This commit is contained in:
alaviss 2021-01-08 14:04:17 -06:00 • committed by GitHub
commit 2a426ca8e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,9 @@ const
var nimExe*: string
template isJsOnly(file: string): bool = file.isRelativeTo("lib/js")
template isJsOnly(file: string): bool =
file.isRelativeTo("lib/js") or
file.isRelativeTo("lib/fusion/js")
proc exe*(f: string): string =
result = addFileExt(f, ExeExt)