Closed WhoAteDaCake closed 5 years ago
Thanks for reporting this issue. There's a way to do this currently, by include
ing different implementation modules hidden under a #if BSB_BACKEND = "native"
check.
See reprocessing's hot reloading implementation.
I'd love to find a better way to do this.
Ahh I see, thank you for the response
Currently if i have a library that has optional functionality that depends on JavaScript you will not be able to build native code.
For example: When using wonka which provides JavaScript event handling, I won't be able to build code that doesn't even use JavaScript bindings:
Will throw: