Join Slack
Powered by
How can I generate a .js file for IR when I specif...
# javascript
a
atsushieno
12/10/2021, 7:36 AM
How can I generate a .js file for IR when I specify
js(BOTH)
? ("Can't use
executable()
with 'both' compiler type")
b
Big Chungus
12/10/2021, 8:36 AM
Both mode is only for kjs lib projects, not js apps
a
atsushieno
12/10/2021, 11:10 AM
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.
atsushieno
12/10/2021, 11:11 AM
Anyways thanks that helps my understandin.
b
Big Chungus
12/10/2021, 11:13 AM
If you want both, js and kjs outputs, then you have to use either LEGACY or IR. BOTH is meant only for kjs outputs.
Open in Slack
Previous
Next