How can I generate a .js file for IR when I specif...
# javascript
a
How can I generate a .js file for IR when I specify
js(BOTH)
? ("Can't use
executable()
with 'both' compiler type")
b
Both mode is only for kjs lib projects, not js apps
a
Hmm okay that sounds new to me - it seems one module cannot be published as a kjs library and also used to generate JS library at the same time.
Anyways thanks that helps my understandin.
b
If you want both, js and kjs outputs, then you have to use either LEGACY or IR. BOTH is meant only for kjs outputs.