Is there finally a way to produce multiple JS file...
# javascript
e
Is there finally a way to produce multiple JS files with a single Gradle module? Last time I tried I had to create a dozen modules, and it was a big no.
j
I believe it's the default now, but there's
-Xir-per-module
flag which has historically enabled that feature
👍 1
e
I believe it's the default now
@jw oh, so now each .kt file outputs a .js file?
j
oh, no. each module produces a JS file. you cannot arbitrarily delineate files from within a single module.
i suppose you could add multiple JS targets within a single module using the multiplatform plugin
👀 2
e
you cannot arbitrarily delineate files from within a single module
@jw Ahhh, so it's like it was back then. Nothing changed. A bit of a pity, the workspace becomes madness at some point tbh.
110 Views