is it possible to change the .js output file name ...
# javascript
d
is it possible to change the .js output file name without editing the gradle module name? should i write a gradle task?
r
You should be able to in the
browser{ distributions{ } }
block. It doesn't work for nodejs yet though (although I don't think nodejs produces a bundle in the first place).
d
it doesn't seem to work, thanks anyway. i'll check if i made any mistakes
r
Copy code
kotlin {
    js {
        browser {
            runTask {
                outputFileName = "..."
            }
            webpackTask {
                outputFileName = "..."
            }
        }
    }
}
173 Views